iframeNew
Last updated
⚠️ Not implemented in the current OSL CLI.
iframeNew creates a new iframe that embeds the web page at the given URL and returns an iframe id. That id is passed to the other iframe methods to control the embed.
iframeNew takes no parameters; it is called on the URL string to load.
frame = "https://example.com".iframeNew()
// creates an iframe for the page and returns its id
frame.iframeResize(640, 480)
frame.iframeGoto(0, 0)
frame.iframeShow()Last updated