postRenderFinished
Description​
This event is fired when the rendering of the whole music sheet is finished, and all handlers of renderFinished
ran. If CoreSettings.enableLazyLoading
is enabled not all partial images of the music sheet might be rendered.
In this case the renderFinished
event rather represents that the whole music sheet has been layouted and arranged
and every partial image can be requested for rendering. If you neeed more fine-grained access
to the actual layouting and rendering progress, you need to look at the low-level apis partialLayoutFinished
and
partialRenderFinished
accessible via renderer
.
- JavaScript
- C#
- Kotlin
postRenderFinished: IEventEmitter;
IEventEmitter PostRenderFinished { get; set; }
var postRenderFinished: IEventEmitter
Examples​
- JavaScript
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.postRenderFinished.on(() => {
hideLoadingIndicator();
});
var api = new AlphaTabApi<MyControl>(...);
api.PostRenderFinished.On(() =>
{
HideLoadingIndicator();
});
val api = AlphaTabApi<MyControl>(...)
api.postRenderFinished.on {
hideLoadingIndicator();
}