Skip to content

$setSize

sets the component size

function $setSize(
// the component width
x: number,
// the component height
y: number
): boolean

boolean returns true if a new size differs from the previous one