blockly > Flyout > setContents

Flyout.setContents() method

Store the list of buttons and blocks on the flyout.

Signature:

setContents(contents: FlyoutItem[]): void;

Parameters

Parameter Type Description
contents FlyoutItem[] The array of items for the flyout.

Returns:

void