Type aliases
Item
NormalItem
NormalItem: { checked?: boolean; ellipsis?: boolean; hidden?: boolean; id: string; label: any; type?: "normal"; onClick: any }
Type declaration
Optional checked?: boolean
Optional ellipsis?: boolean
Optional hidden?: boolean
id: string
label: any
Optional type?: "normal"
onClick:function
Parameters
Returns void
SeparatorItem
SeparatorItem: { hidden?: boolean; type: "separator" }
Type declaration
Optional hidden?: boolean
type: "separator"
ShowOpts
ShowOpts: { mouseX?: number | ((x: number) => number); mouseY?: number | ((y: number) => number) }
Type declaration
Optional mouseX?: number | ((x: number) => number)
Optional mouseY?: number | ((y: number) => number)