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

setPosition

setPosition(position: SquirrelPosition)

Tells Squirrel to resize the component to the specified height and width. The method accepts the following argument

position: SquirrelPosition

A SquirrelPosition object specifying the x and y location of the component on the canvas

Support for this method was added on release 1.12.x

Last updated

Was this helpful?