Version: 6.12.2
Modal
showModal()#
Show a screen as a modal.
Parameters#
| Name | Required | Type | Description |
|---|---|---|---|
| layout | Yes | Layout | Any type of layout. BottomTabs, Stack, SideMenu, Component |
dismissModal()#
Dismiss the current modal.
Parameters#
| Name | Required | Type | Description |
|---|---|---|---|
| componentId | Yes | string | Any component id presented in the modal |
| mergeOptions | No | Options | Options to be merged before dismissing the Modal. |
dismissAllModals()#
Dismiss all current modals at the same time.
Parameters#
| Name | Required | Type | Description |
|---|---|---|---|
| mergeOptions | No | Options | Options to be merged before dismissing all modals. |