blockly > ContextMenuRegistry > ActionRegistryItem

Antarmuka ContextMenuRegistry.ActionRegistryItem

Representasi item menu normal yang dapat diklik di registry.

Tanda Tangan:

interface ActionRegistryItem extends CoreRegistryItem 

Memperluas: CoreRegistryItem

Properti

Properti Pengubah Jenis Deskripsi
callback (scope: Scope, menuOpenEvent: Peristiwa, menuSelectEvent: Peristiwa, location: Coordinate) => void
displayText ((p1: Scope) => string | HTMLElement) | string | HTMLElement
preconditionFn (p1: Scope, menuOpenEvent: Peristiwa) => string
pemisah? tidak pernah (Opsional)