Skip to main content

Home > 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

ParameterTypeDescription
ynumberVertical scroll value.

Returns:

void