blockly > Scrollbar > resize

Scrollbar.resize() method

Recalculate the scrollbar's location and its length.

Signature:

resize(opt_metrics?: Metrics): void;

Parameters

Parameter Type Description
opt_metrics Metrics (Optional) A data structure of from the describing all the required dimensions. If not provided, it will be fetched from the host object.

Returns:

void