Browse Source

Update README.md

Tal Kol 9 years ago
parent
commit
3d174af7ed
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      README.md

+ 20
- 0
README.md View File

@@ -203,6 +203,16 @@ Dismiss the current modal.
203 203
 Navigation.dismissModal({
204 204
   animationType: 'slide-down' // 'none' / 'slide-down' , dismiss animation for the modal (optional, default 'slide-down')
205 205
 });
206
+```
207
+
208
+ * **dismissAllModals(params = {})**
209
+
210
+Dismiss all the current modals at the same time.
211
+
212
+```js
213
+Navigation.dismissAllModals({
214
+  animationType: 'slide-down' // 'none' / 'slide-down' , dismiss animation for the modal (optional, default 'slide-down')
215
+});
206 216
 ```
207 217
 
208 218
 * **showLightBox(params = {})**
@@ -312,6 +322,16 @@ Dismiss the current modal.
312 322
 this.props.navigator.dismissModal({
313 323
   animationType: 'slide-down' // 'none' / 'slide-down' , dismiss animation for the modal (optional, default 'slide-down')
314 324
 });
325
+```
326
+
327
+ * **dismissAllModals(params = {})**
328
+
329
+Dismiss all the current modals at the same time.
330
+
331
+```js
332
+this.props.navigator.dismissAllModals({
333
+  animationType: 'slide-down' // 'none' / 'slide-down' , dismiss animation for the modal (optional, default 'slide-down')
334
+});
315 335
 ```
316 336
 
317 337
 * **showLightBox(params = {})**