soundFontLoaded
Description​
This event is fired when the SoundFont needed for playback was loaded.
soundFontLoadedJavaScript |
alphaTab.soundFontLoadedjQuery |
alphaTab.soundFontLoadedHTML |
SoundFontLoaded.net |
soundFontLoadedAndroid |
Types​
function()JavaScript |
Action.net |
Parameters​
none
Examples​
- JavaScript
- HTML
- jQuery
- C#
- Android
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.soundFontLoaded.on(() => {
hideSoundFontLoadingIndicator();
});
$('#alphaTab').on('alphaTab.soundFontLoaded', (e) => {
hideSoundFontLoadingIndicator();
});
document.querySelector('#alphaTab').addEventListener('alphaTab.soundFontLoaded', () => {
hideSoundFontLoadingIndicator();
}, false);
var api = new AlphaTabApi<MyControl>(...);
api.SoundFontLoaded.On(() =>
{
HideSoundFontLoadingIndicator();
});