blockly > ContextMenuRegistry > RegistryItem
Interfaz ContextMenuRegistry.RegistryItem
Un elemento de menú tal como se ingresa en el registro.
Signature:
interface RegistryItem
Propiedades
Propiedad | Modificadores | Tipo | Descripción |
---|---|---|---|
callback | (p1: Alcance) => void | ||
displayText | ((p1: Alcance) => string | HTMLElement) | string | HTMLElement | ||
id | cadena | ||
preconditionFn | (p1: Alcance) => string | ||
scopeType | ScopeType | ||
peso | número |