blockly > ContextMenuRegistry > RegistryItem

Antarmuka ContextMenuRegistry.RegistryItem

Item menu seperti yang dimasukkan dalam registry.

Tanda Tangan:

interface RegistryItem 

Properti

Properti Pengubah Jenis Deskripsi
callback (cakupan: Cakupan, e: PointerEvent) => kosong
displayText ((p1: Cakupan) => string | HTMLElement) | rangkaian | HTMLElement
id string
preconditionFn (p1: Cakupan) => {i>string<i}
scopeType ScopeType
bobot angka