blockly > VerticalFlyout > layout_

VerticalFlyout.layout_() method

Lay out the blocks in the flyout.

Signature:

protected layout_(contents: FlyoutItem[], gaps: number[]): void;

Parameters

Parameter Type Description
contents FlyoutItem[] The blocks and buttons to lay out.
gaps number[] The visible gaps between blocks.

Returns:

void