Skip to main content

playbackRangeHighlightChanged

since 1.8.0

Description​

This event is fired the shown highlights for the selected playback range changes. This event is fired already during selection and not only when the selection is completed. This event can be used to place additional custom selection markers (like drag handles).

readonly playbackRangeHighlightChanged: IEventEmitterOfT<PlaybackHighlightChangeEventArgs>;

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.playbackRangeHighlightChanged.on(e => {
updateSelectionHandles(e);
});