resize
Resizes the section node. Sections do not propagate constraints to their
children, so this behaves equivalently to resizeWithoutConstraints
and is provided to match the resize ergonomics of other resizable nodes.
Supported on:
Signature
resize(width: number, height: number): void
Parameters
width
New width of the node. Must be >= 0.01
height
New height of the node. Must be >= 0.01