Skip to main content

renderTracks

since 0.9.4

Description​

Renders the given list of tracks.

renderTracks(tracks: Track[]): void
ParameterSummary
tracksAll

The tracks to render. They must all belong to the same score.

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.renderTracks([api.score.tracks[0], api.score.tracks[1]]);