Skip to content
On this page

Type alias: NodeEventsHandler<CustomEvents> ​

Ƭ NodeEventsHandler<CustomEvents>: { click: (event: NodeMouseEvent) => void | { off: () => void } ; contextMenu: (event: NodeMouseEvent) => void | { off: () => void } ; doubleClick: (event: NodeMouseEvent) => void | { off: () => void } ; drag: (event: NodeDragEvent) => void | { off: () => void } ; dragStart: (event: NodeDragEvent) => void | { off: () => void } ; dragStop: (event: NodeDragEvent) => void | { off: () => void } ; mouseEnter: (event: NodeMouseEvent) => void | { off: () => void } ; mouseLeave: (event: NodeMouseEvent) => void | { off: () => void } ; mouseMove: (event: NodeMouseEvent) => void | { off: () => void } } & CustomEventHandlers<CustomEvents>

Type parameters ​

NameType
CustomEvents{}

Released under the MIT License.