Skip to content

@vue-flow/monorepo • Docs


Type Alias: NodeEventsHandler<CustomEvents> ​

NodeEventsHandler<CustomEvents>: object & CustomEventHandlers<CustomEvents>

Type declaration ​

click() ​

click: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

contextMenu() ​

contextMenu: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

doubleClick() ​

doubleClick: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

drag() ​

drag: (event) => void | object

Parameters ​

• event: NodeDragEvent

Returns ​

void | object

dragStart() ​

dragStart: (event) => void | object

Parameters ​

• event: NodeDragEvent

Returns ​

void | object

dragStop() ​

dragStop: (event) => void | object

Parameters ​

• event: NodeDragEvent

Returns ​

void | object

mouseEnter() ​

mouseEnter: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

mouseLeave() ​

mouseLeave: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

mouseMove() ​

mouseMove: (event) => void | object

Parameters ​

• event: NodeMouseEvent

Returns ​

void | object

Type Parameters ​

• CustomEvents = object

Released under the MIT License.