iframeResize
Last updated
⚠️ Not implemented in the current OSL CLI.
iframeResize sets the size of an iframe in pixels. Pair it with .iframeGoto() to position the embed.
width: the new width of the iframe, in pixels.
height: the new height of the iframe, in pixels.
frame = "https://example.com".iframeNew()
frame.iframeResize(800, 600)
// the iframe is now 800x600 pixelsLast updated