MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / constructor

Method constructor

packages/playground/src/components/Sidebar.ts:41–50  ·  view source on GitHub ↗
(api: alphaTab.AlphaTabApi)

Source from the content-addressed store, hash-verified

39 readonly trackList: TrackList;
40
41 constructor(api: alphaTab.AlphaTabApi) {
42 this.root = parseHtml(html`
43 <div class="at-sidebar">
44 <div class="at-sidebar-content">
45 <div class="cmp-track-list"></div>
46 </div>
47 </div>
48 `);
49 this.trackList = mount(this.root, '.cmp-track-list', new TrackList(api));
50 }
51
52 dispose(): void {
53 this.trackList.dispose();

Callers

nothing calls this directly

Calls 3

parseHtmlFunction · 0.90
htmlFunction · 0.90
mountFunction · 0.90

Tested by

no test coverage detected