hide default tempo and dynamic in alphatex #455
-
Questionhow to hide default tempo and dynamic in alphatex ? tried
Your environment (if applicable)
thanks |
Beta Was this translation helpful? Give feedback.
Answered by
Danielku15
Dec 9, 2020
Replies: 1 comment 2 replies
-
Hiding UI elements is not part of alphaTex. alphaTex defines the music piece and there dynamics and tempo are an essential part of it. Hiding UI elements is part of the settings you pass on to alphaTab for rendering, like the layout: In your case you would likely do something like: const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'), {
notation: {
elements: {
effectTempo: false,
effectDynamics: false
}
}
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Danielku15
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hiding UI elements is not part of alphaTex. alphaTex defines the music piece and there dynamics and tempo are an essential part of it.
Hiding UI elements is part of the settings you pass on to alphaTab for rendering, like the layout:
https://www.alphatab.net/docs/reference/settings/notation/elements
In your case you would likely do something like: