sizeTo

set new size of scrollable content ( scrollWidth or scrollHeight )

void sizeTo(number size);

Parameters

sizenumberthe size of scrollable content

Example

scroll.setSize(400);

Back to top