UIIframeElementUpdate
Last updated
Was this helpful?
The parameters for updating an iframe element.
See UIIframeElement for more details.
id and type are required to identify the element to update.
type:
"Iframe"
id:
string
The ID of the element.
optionalheight:string|number
The height of the iframe.
If not provided, the height will be automatically calculated following a 16:9 ratio.
optionalurl:string
The URL of the iframe.
optionalonCreate: (args: {id:string; }) =>void
A function to call when the element is created.
args
{ id: string; }
The arguments passed to the function.
args.id
string
The id of the element.
void
optionalonDestroy: (args: {id:string; }) =>void
A function to call when the element is destroyed.
args
{ id: string; }
The arguments passed to the function.
args.id
string
The id of the element.
void
Last updated
Was this helpful?
Was this helpful?