blockly > 弹出式窗口 > getContents

Flyout.getContents() 方法

获取当前动作条的元素列表。

Signature:

getContents(): FlyoutItem[];

返回

FlyoutItem[]

展开式菜单元素的数组。