Type alias RegionsPluginEvents

RegionsPluginEvents: BasePluginEvents & {
    region-clicked: [region: Region, e: MouseEvent];
    region-created: [region: Region];
    region-double-clicked: [region: Region, e: MouseEvent];
    region-in: [region: Region];
    region-out: [region: Region];
    region-removed: [region: Region];
    region-update: [region: Region, side?: "start" | "end"];
    region-updated: [region: Region];
}

Type declaration

  • region-clicked: [region: Region, e: MouseEvent]

    When a region is clicked

  • region-created: [region: Region]

    When a region is created

  • region-double-clicked: [region: Region, e: MouseEvent]

    When a region is double-clicked

  • region-in: [region: Region]

    When playback enters a region

  • region-out: [region: Region]

    When playback leaves a region

  • region-removed: [region: Region]

    When a region is removed

  • region-update: [region: Region, side?: "start" | "end"]

    When a region is being updated

  • region-updated: [region: Region]

    When a region is done updating

Generated using TypeDoc