Type alias RegionEvents

RegionEvents: {
    click: [event: MouseEvent];
    dblclick: [event: MouseEvent];
    leave: [event: MouseEvent];
    over: [event: MouseEvent];
    play: [];
    remove: [];
    update: [side?: "start" | "end"];
    update-end: [];
}

Type declaration

  • click: [event: MouseEvent]

    On mouse click

  • dblclick: [event: MouseEvent]

    Double click

  • leave: [event: MouseEvent]

    Mouse leave

  • over: [event: MouseEvent]

    Mouse over

  • play: []

    On play

  • remove: []

    Before the region is removed

  • update: [side?: "start" | "end"]

    When the region's parameters are being updated

  • update-end: []

    When dragging or resizing is finished

Generated using TypeDoc