<frame>A page element similar to HTML's <iframe>, which can embed a Lynx page into the current page.
The following is an example of a main page loading an embedded page via the <frame> element.
initData and globalProps to the embedded page through the data and globalProps attributes.bindload event.

The <frame> element was introduced in 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-propsPasses globalProps to the Lynx page embedded in the frame. The embedded page can read it via lynx.__globalProps.
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 iOS 3.6 | 3.6 | Frame loaded status code. |
| statusMessage | string | No | – | Android iOS 3.6 | 3.6 | Frame loaded status message. |
| url | string | No | – | Android iOS 3.6 | 3.6 | The loaded url of the frame. |
Bind frame load event callback.
LCD tables only load in the browser