Skip to main content

beatMouseDown

since 0.9.7

Description​

This event is fired whenever a the user presses the mouse button on a beat.

beatMouseDown: IEventEmitterOfT<Beat>;

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.beatMouseDown.on((beat) => {
startSelectionOnBeat(beat);
});