Skip to main content

stop

since 0.9.4

Description​

Stops the playback of the current song, and moves the playback position back to the start. If a dedicated playback range is selected, it will move the playback position to the start of this range, not the whole song.

stop(): void

Examples​

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