blockly > Flyout > getContents

Flyout.getContents() 方法

取得目前彈出式選單的元素清單。

Signature:

getContents(): FlyoutItem[];

退貨:

FlyoutItem[]

彈出式元素的陣列。