Home > SYS_IFrame > openIFrame
SYS_IFrame.openIFrame() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
打开内联框架窗口
Signature
typescript
openIFrame(htmlFileName: string, width?: number, height?: number): Promise<void>;
1
Parameters
Parameter | Type | Description |
---|---|---|
htmlFileName | string | 需要加载的 HTML 文件在扩展包内的路径 |
width | number | (Optional) 内联框架窗口的宽度 |
height | number | (Optional) 内联框架窗口的高度 |
Returns
Promise<void>