blockly > ContextMenuRegistry > RegistryItem
Interface ContextMenuRegistry.RegistryItem
Um item de menu conforme inserido no registro.
Signature:
interface RegistryItem
Propriedades
Propriedade | Modificadores | Tipo | Descrição |
---|---|---|---|
callback | (p1: Escopo) => nulo | ||
displayText | ((p1: Escopo) => string | HTMLElement) | string | HTMLElement | ||
id | string | ||
preconditionFn | (p1: Escopo) => string | ||
scopeType | ScopeType | ||
peso | number |