blockly > ContextMenuRegistry > RegistryItem
Antarmuka ContextMenuRegistry.RegistryItem
Item menu seperti yang dimasukkan dalam registry.
Tanda Tangan:
interface RegistryItem
Properti
Properti | Pengubah | Jenis | Deskripsi |
---|---|---|---|
callback | (cakupan: Scope, e: PointerEvent) => void | ||
displayText | ((p1: Cakupan) => string | HTMLElement) | string | HTMLElement | ||
id | string | ||
preconditionFn | (p1: Cakupan) => string | ||
scopeType | ScopeType | ||
bobot | angka |