Skip to main content

destroy

since 0.9.4

Description​

This function destroys the alphaTab control and tries to restore the initial state of the UI. This might be useful if your website is quite dynamic and you need to uninitialize alphaTab from an element again. After destroying alphaTab it cannot be used anymore. Any further usage leads to unexpected behavior.

Signatures​

void Destroy().net
function destroy()JavaScript
alphaTab('destroy')jQuery
fun destroy(): UnitAndroid

Parameters​

None

Returns​

Nothing

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.destroy();