blockly > ScrollbarPair > setY

ScrollbarPair.setY() method

Set the handle of the vertical scrollbar to be at a certain position in CSS pixels relative to its parents.

Signature:

setY(y: number): void;

Parameters

Parameter Type Description
y number Vertical scroll value.

Returns:

void