Browse Source

Update waitForRender documentation

Guy Carmeli 5 years ago
parent
commit
3766a1aeae
1 changed files with 14 additions and 10 deletions
  1. 14
    10
      lib/src/interfaces/Options.ts

+ 14
- 10
lib/src/interfaces/Options.ts View File

726
   /**
726
   /**
727
    * Wait for the View to render before start animation
727
    * Wait for the View to render before start animation
728
    * Example:
728
    * Example:
729
-```js
730
-animations: {
731
-  push: {
732
-    waitForRender: true
733
-  },
734
-  showModal: {
735
-    waitForRender: true
736
-  }
737
-}
738
-```
729
+   ```js
730
+   animations: {
731
+     push: {
732
+       waitForRender: true
733
+     },
734
+     showModal: {
735
+       waitForRender: true
736
+     },
737
+     setRoot: {
738
+       waitForRender: true
739
+     }
740
+     }
741
+   }
742
+   ```
739
    */
743
    */
740
   waitForRender?: boolean;
744
   waitForRender?: boolean;
741
   /**
745
   /**