blockly > ContextMenuRegistry > RegistryItem
Interfaccia ContextMenuRegistry.RegistryItem
Una voce di menu inserita nel registro.
Firma:
interface RegistryItem
Proprietà
Proprietà | Modificatori | Tipo | Descrizione |
---|---|---|---|
callback | (ambito: Ambito, e: PointerEvent) => void | ||
displayText | ((p1: Ambito) => stringa | HTMLElement) | stringa | HTMLElement | ||
id | stringa | ||
preconditionFn | (p1: Ambito) => stringa | ||
scopeType | ScopeType | ||
peso | numero |