You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOM events are namespaced with a `alphaTab.` prefix and can be subscribed either via `addEventListener(eventName, handler)` or via jQuerys `.on(eventName, handler)`.
115
-
To access potential parameters that are passed along the event, you will need to access the event details.
116
-
117
-
For raw DOM events, the info object will be contained in the [`detail`](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/detail) property of the DOM event.
alphaTab supports individual styling of music notation elements via a special `style` container which is available on
28
13
most levels of the [Data Model](../reference/score.mdx). This means you can customize the colors of individual notes being rendered
29
14
base on custom logic.
@@ -57,47 +42,46 @@ alphaTab tries to give fine grained access to coloring music notation elements.
57
42
58
43
On Score level initialize the `score.style = new alphaTab.model.ScoreStyle()` and then select the element to color via `alphaTab.model.ScoreSubElement`.
On Track level initialize the `track.style = new alphaTab.model.TrackStyle()` and then select the element to color via `alphaTab.model.TrackSubElement`.
0 commit comments