|
@@ -151,6 +151,11 @@ const modalDismissedListener = Navigation.events().registerModalDismissedListene
|
151
|
151
|
modalDismissedListener.remove();
|
152
|
152
|
```
|
153
|
153
|
|
|
154
|
+| Parameter | Description |
|
|
155
|
+| :-----------------: | :----------------------------------- |
|
|
156
|
+| **componentId** | Id of the modal |
|
|
157
|
+| **modalsDismissed** | Number of modals that were dismissed |
|
|
158
|
+
|
154
|
159
|
## registerModalAttemptedToDismissListener(iOS 13+ only)
|
155
|
160
|
|
156
|
161
|
Invoked only on iOS pageSheet modal when `swipeToDismiss` flag is set to true and modal was swiped down to dismiss.
|
|
@@ -162,7 +167,7 @@ const modalAttemptedToDismissListener = Navigation.events().registerModalAttempt
|
162
|
167
|
});
|
163
|
168
|
...
|
164
|
169
|
// Unsubscribe
|
165
|
|
-modalDismissedListener.remove();
|
|
170
|
+modalAttemptedToDismissListener.remove();
|
166
|
171
|
```
|
167
|
172
|
|
168
|
173
|
| Parameter | Description |
|
|
@@ -185,8 +190,7 @@ screenPoppedListener.remove();
|
185
|
190
|
|
186
|
191
|
| Parameter | Description |
|
187
|
192
|
| :-----------------: | :----------------------------------- |
|
188
|
|
-| **componentId** | Id of the modal |
|
189
|
|
-| **modalsDismissed** | Number of modals that were dismissed |
|
|
193
|
+| **componentId** | Id of the screen which was popped |
|
190
|
194
|
|
191
|
195
|
## registerBottomTabSelectedListener
|
192
|
196
|
|