Attributes
auto-height
Android
iOS
3.8
Lets the frame height follow the embedded Lynx page’s content height. When enabled, the embedded page can report its content size, and the frame uses that value as its measured height.
auto-width
Android
iOS
3.8
Lets the frame width follow the embedded Lynx page’s content width. When enabled, the embedded page can report its content size, and the frame uses that value as its measured width.
data
Android
iOS
3.4
Passes data to the nested Lynx page within the frame.
global-props
Android
iOS
3.6
Passes
globalProps
to the Lynx page embedded in the frame. The embedded page can read it via
lynx.__globalProps
.
src
Android
iOS
3.4
Sets the loading path for the frame resource.
Events
Frontend can bind corresponding event callbacks to listen for runtime behaviors of the element, as shown below.
bindload
Android
iOS
3.6
Bind frame load event callback.