beatMouseUp
Description​
This event is fired whenever the user releases the mouse after a mouse press on a beat. This event is fired regardless of whether the mouse was released on a beat. The parameter is null if the mouse was released somewhere beside the beat.
- JavaScript
- C#
- Kotlin
beatMouseUp: IEventEmitterOfT<Beat | null>;
IEventEmitterOfT<Beat?> BeatMouseUp { get; set; }
var beatMouseUp: IEventEmitterOfT<Beat?>
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.beatMouseUp.on((beat) => {
hideSelection(beat);
});
var api = new AlphaTabApi<MyControl>(...);
api.BeatMouseUp.On(beat =>
{
HideSelection(beat);
});
val api = AlphaTabApi<MyControl>(...)
api.beatMouseUp.on { beat ->
hideSelection(beat)
}