resizeTo Function

Resizes the node to the specified dimensions. Returns the handler.

Summary

ElementFunction
ReturnsObject

Arguments

wNumberNew width of the node.
hNumberNew height of the node.

Example

handler.resizeTo(80, 50);