Classdesc

An event listeners wrapper. This is just a set of three listener queues (drag, dragStart, dragEnd) and their respective firing functions.

Constructors

Properties

click: VertListener[]
drag: VertListener[]
dragEnd: VertListener[]
dragStart: VertListener[]
vertex: Vertex

Methods

  • Fire a click event with the given event instance to all installed click listeners.

    Parameters

    Returns void

    Method

    fireClickEvent

    Instance

    Memberof

    VertexListeners

  • Fire a dragEnd event with the given event instance to all installed drag-end listeners.

    Parameters

    • e: XMouseEvent | VertEvent

      The drag-end event itself to be fired to all installed dragEnd listeners.

    Returns void

    Method

    fireDragEndEvent

    Instance

    Memberof

    VertexListeners

  • Fire a drag event with the given event instance to all installed drag listeners.

    Parameters

    Returns void

    Method

    fireDragEvent

    Instance

    Memberof

    VertexListeners

  • Fire a dragStart event with the given event instance to all installed drag-start listeners.

    Parameters

    • e: XMouseEvent | VertEvent

      The drag-start event itself to be fired to all installed dragStart listeners.

    Returns void

    Method

    fireDragStartEvent

    Instance

    Memberof

    VertexListeners