Browse Source

Add missing type interface "waitForRender" (#4577)

Add missing type interface "waitForRender"
Minh Tran 6 years ago
parent
commit
f1ef49e7ae
1 changed files with 15 additions and 0 deletions
  1. 15
    0
      lib/src/interfaces/Options.ts

+ 15
- 0
lib/src/interfaces/Options.ts View File

690
 }
690
 }
691
 
691
 
692
 export interface OptionsAnimationSeparate {
692
 export interface OptionsAnimationSeparate {
693
+  /**
694
+   * Wait for the View to render before start animation
695
+   * Example:
696
+```js
697
+animations: {
698
+  push: {
699
+    waitForRender: true
700
+  },
701
+  showModal: {
702
+    waitForRender: true
703
+  }
704
+}
705
+```
706
+   */
707
+  waitForRender?: boolean;
693
   /**
708
   /**
694
    * Configure animations for the top bar
709
    * Configure animations for the top bar
695
    */
710
    */