renderFinished
Description​
This event is fired when the rendering of the whole music sheet is finished. This event is fired when the rendering of the whole music sheet is finished from the render engine side. There might be still tasks open for the display component to visually display the rendered components when this event is notified (e.g. resizing of DOM elements are done).
- JavaScript
- C#
- Kotlin
renderFinished: IEventEmitterOfT<RenderFinishedEventArgs>;
IEventEmitterOfT<RenderFinishedEventArgs> RenderFinished { get; set; }
var renderFinished: IEventEmitterOfT<RenderFinishedEventArgs>
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.renderFinished.on(() => {
updateProgressBar("Finishing");
});
var api = new AlphaTabApi<MyControl>(...);
api.RenderFinished.On(() =>
{
UpdateProgressBar("Finishing");
});
val api = AlphaTabApi<MyControl>(...)
api.renderFinished.on {
updateProgressBar("Finishing")
}