<frame>

A page element similar to HTML's <iframe>, which can embed a Lynx page into the current page.

TIP

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.

Attribute

CAUTION

<frame> does not currently support automatic height adjustment. You need to manually set the width and height of the frame.

src Required

src: string;

Sets the loading path for the frame resource. The resource pointed to by the path will be fetched as a template via TemplateResourceFetcher.

INFO
  1. The page loaded by <frame> can be any Lynx page, but Lazy Bundle is not currently supported.
  2. If the loaded resource is a local offline resource, the frame page can be displayed on the screen in the same frame as the current Lynx page.

data

data?: object;

Passes data to the nested Lynx page within the frame.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.