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?