Event Listeners Methods
on
- on(type: "drag" | "drop" | "click" | "show" | "mouseenter" | "mouseout", listener: (sender: circleMenuUI, args: any, args1: any, args2: any) => boolean | void): circleMenuUI
Parameters
type: "drag" | "drop" | "click" | "show" | "mouseenter" | "mouseout"
listener: (sender: circleMenuUI, args: any, args1: any, args2: any) => boolean | void
- (sender: circleMenuUI, args: any, args1: any, args2: any): boolean | void
Parameters
args: any
args1: any
args2: any
Returns boolean | void
Other Methods
show
- show(nodeId: string | number, menu?: {}): void
Parameters
nodeId: string | number
Optional menu: {}
Returns void
The on() method of the circleMenuUI interface sets up a function that will be called whenever the specified event is delivered to the target. *