beatMouseMove
Description​
This event is fired whenever the user moves the mouse over a beat after the user already pressed the button on a beat.
- JavaScript
- C#
- Kotlin
beatMouseMove: IEventEmitterOfT<Beat>;
IEventEmitterOfT<Beat> BeatMouseMove { get; set; }
var beatMouseMove: IEventEmitterOfT<Beat>
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.beatMouseMove.on((beat) => {
expandSelectionToBeat(beat);
});
var api = new AlphaTabApi<MyControl>(...);
api.BeatMouseMove.On(beat =>
{
ExpandSelectionToBeat(beat);
});
val api = AlphaTabApi<MyControl>(...)
api.beatMouseMove.on { beat ->
expandSelectionToBeat(beat)
}