renderStarted
Description​
This event is fired when the rendering of the whole music sheet is starting. All preparations are completed and the layout and render sequence is about to start.
renderStartedJavaScript |
alphaTab.renderStartedjQuery |
alphaTab.renderStartedHTML |
RenderStarted.net |
renderStartedAndroid |
Types​
function(resize)JavaScript |
Action<bool>.net |
(resize: Boolean) -> UnitAndroid |
Parameters​
Parameters | Type | Summary |
---|---|---|
resizeAll | bool | Whether the rendering is triggered from a resize. |
Examples​
- JavaScript
- HTML
- jQuery
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.renderStarted.on(() => {
updateProgressBar("Rendering");
});
$('#alphaTab').on('alphaTab.renderStarted', () => {
updateProgressBar("Rendering");
});
document.querySelector('#alphaTab').addEventListener('alphaTab.renderStarted', () => {
updateProgressBar("Rendering");
}, false);
var api = new AlphaTabApi<MyControl>(...);
api.RenderStarted.On(resized =>
{
UpdateProgressBar("Rendering");
});
val api = AlphaTabApi<MyControl>(...)
api.renderStarted.on { resized ->
updateProgressBar("Rendering");
}