iframeClose
Last updated
⚠️ Not implemented in the current OSL CLI.
iframeClose destroys an iframe and frees its resources. After closing, the iframe id is no longer valid and cannot be shown again - create a new one with .iframeNew() if needed.
iframeClose takes no parameters; it is called on an iframe id returned by .iframeNew().
frame = "https://example.com".iframeNew()
frame.iframeClose()
// the iframe is removed and its id is no longer usableLast updated