Attributes
ios-enable-swipe-back
iOS
When overlay is displayed, 'true' allows swiping right to close the current page, 'false' does not allow it
level
Android
iOS
Clay
Harmony
Introduces the concept of layers, which are divided into four levels. The larger the layer, the closer it is to the bottom. By default, it is the first level. The layers are arranged in order from 1 to 4. The displayed layer is specified and is not affected by the order of display. Within each layer, the arrangement is based on the 'last in, first out' logic. The layer cannot be dynamically adjusted when the overlay is displayed, and can only be adjusted when it is hidden. *
mode
iOS
Specifies the level at which the overlay content resides on iOS. window: Mounted on the window, the top level of the app; top: Mounted on the topViewController; page: Mounted on UINavigationController; others: customize the name of class in the client.
visible
Android
iOS
Clay
Harmony
Control whether the overlay is displayed
Events
Frontend can bind corresponding event callbacks to listen for runtime behaviors of the element, as shown below.
binddismissoverlay
Android
iOS
Clay
Harmony
Callback when the overlay is hidden.
binderror
Android
2.18
Callback when touch on the overlay
bindoverlaytouch
Android
iOS
Clay
Callback when touch on the overlay
bindrequestclose
Android
Clay
Harmony
Callback when the back button is clicked.
bindshowoverlay
Android
iOS
Clay
Harmony
Callback when the overlay is displayed