Movatterモバイル変換


[0]ホーム

URL:


LogoLogo
Ctrlk
Sign upHelp Center
Powered by GitBook
On this page

UIIframeElementUpdate


The parameters for updating an iframe element.

SeeUIIframeElement for more details.

Remarks

id andtype are required to identify the element to update.

Properties

type

type:"Iframe"


id

id:string

The ID of the element.


height?

optionalheight:string |number

The height of the iframe.

If not provided, the height will be automatically calculated following a 16:9 ratio.


url?

optionalurl:string

The URL of the iframe.


onCreate()?

optionalonCreate: (args: {id:string; }) =>void

A function to call when the element is created.

Parameters

Parameter
Type
Description

args

{id:string; }

The arguments passed to the function.

args.id

string

The id of the element.

Returns

void


onDestroy()?

optionalonDestroy: (args: {id:string; }) =>void

A function to call when the element is destroyed.

Parameters

Parameter
Type
Description

args

{id:string; }

The arguments passed to the function.

args.id

string

The id of the element.

Returns

void

Last updated

Was this helpful?


[8]ページ先頭

©2009-2025 Movatter.jp