sizeTo

set new size of scrollable content ( scrollWidth or scrollHeight )

void sizeTo(number size);
sizenumberthe size of scrollable content

Example

scroll.setSize(400);

Back to top