blockly > ContextMenuRegistry > RegistryItem
ContextMenuRegistry.RegistryItem 介面
在登錄檔中輸入的選單項目。
Signature:
interface RegistryItem
屬性
屬性 | 修飾符 | 類型 | 說明 |
---|---|---|---|
回呼 | (p1:範圍) => void | ||
displayText | (p1:範圍) => 字串 | HTMLElement) | 字串 | HTML 元素 | ||
id | 字串 | ||
preconditionFn | (p1:範圍) => 字串 | ||
scopeType | ScopeType | ||
重量 | 號碼 |