blockly > ContextMenuRegistry > RegistryItem
Schnittstelle ContextMenuRegistry.RegistryItem
Ein in der Registrierung eingegebener Menüpunkt.
Unterschrift:
interface RegistryItem
Attribute
Property | Modifikatoren | Typ | Beschreibung |
---|---|---|---|
callback | (Umfang: Umfang, z. B. PointerEvent) => void | ||
displayText | ((p1: Umfang) => String | HTMLElement) | String | HTMLElement | ||
id | String | ||
preconditionFn | (p1: Geltungsbereich) => String | ||
scopeType | ScopeType | ||
Gewicht | Zahl |