Skip to main content

tex

since 0.9.4

Description​

Tells alphaTab to render the given alphaTex.

Signatures​

function tex(tex)JavaScript
function tex(tex, tracks)JavaScript
alphaTab('tex', tex)jQuery
alphaTab('tex', tex, tracks)jQuery
void Tex(string tex).net
void Tex(string tex, int[] tracks).net
fun tex(tex: String, tracks: alphaTab.collections.DoubleList? = null): UnitAndroid

Parameters​

ParametersTypeSummary
texAllstring

The alphaTex encoded string to load.

tracksAllint[]

Which tracks to display.

tracksAllint

Which track to display.

Returns​

Nothing

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.tex("\title 'Test' . 3.3.4");