Required feature: web_renderer
WebView
WebView
renders a website using Chromium engine embedded inside the compositor.
note
To use this component, you need to first register the web renderer instance with matching instance_id
using register web renderer instance
request.
warning
Only one component can use specific instance_id
at the time.
WebView
type WebView = {
id?: string;
children?: Component[];
instance_id: string;
}
WebView component renders a website using Chromium.
Properties
-
id
- Id of a component. -
children
- List of component's children. -
instance_id
- Id of a web renderer instance. It identifies an instance registered using aregister web renderer
request.warningYou can only refer to specific instances in one Component at a time.