Skip to main content

postRenderFinished

since 0.9.4

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.

postRenderFinished: IEventEmitter;

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.postRenderFinished.on(() => {
hideLoadingIndicator();
});