For the complete documentation index, see llms.txt. This page is also available as Markdown.

iframeResize

⚠️ Not implemented in the current OSL CLI.

Description

iframeResize sets the size of an iframe in pixels. Pair it with .iframeGoto() to position the embed.

Parameters

  • width: the new width of the iframe, in pixels.

  • height: the new height of the iframe, in pixels.

Usage

frame = "https://example.com".iframeNew()

frame.iframeResize(800, 600)
// the iframe is now 800x600 pixels

Last updated