Home > SYS_IFrame > hideIFrame
SYS_IFrame.hideIFrame() 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
hideIFrame(id?: string): Promise<boolean>;
1
Parameters
Parameter | Type | Description |
---|---|---|
id | string | (Optional) 内联框架窗口 ID |
Returns
Promise<boolean>
操作是否成功
Remarks
本接口为结果导向的: 如若未找到指定内联框架窗口,接口将会返回 false
; 如若在执行操作前该内联框架窗口已处于隐藏状态,接口将会返回 true