root-portal
Makes the entire subtree off the page, similar to using fixed position in CSS. It is mainly used to make pop-up windows, pop-up layers, etc.
Example
bxml
js
#
PropsName | Type | Description | Default |
---|---|---|---|
enable | boolean | whether detached from the page | true |