<frame>A page element similar to HTML's <iframe>, which can embed a Lynx page into the current page.
The <frame> element was introduced in Lynx version 3.4. To use this element, the Lynx dependency version must be upgraded to 3.4 or higher.
<frame> does not currently support automatic height adjustment. You need to manually set the width and height of the frame.
dataPasses data to the nested Lynx page within the frame.
global-propsPass global props to the nested Lynx page within the frame.
srcSets the loading path for the frame resource.
Frontend can bind corresponding event callbacks to listen for runtime behaviors of the element, as shown below.
bindload| Field | Type | Optional | Default | Platforms | Since | Description |
|---|---|---|---|---|---|---|
| statusCode | number | No | – | Android only iOS only 3.6 | 3.6 | Frame loaded status code. |
| statusMessage | string | No | – | Android only iOS only 3.6 | 3.6 | Frame loaded status message. |
| url | string | No | – | Android only iOS only 3.6 | 3.6 | The loaded url of the frame. |
Bind frame load event callback.
LCD tables only load in the browser