-
Notifications
You must be signed in to change notification settings - Fork 221
Description
I am having a problem generating a track list, namely the below mentioned example does not allow access of nodes via querySelector() so I have tried using a Web Component instead.
Expected Results
Allow use of HTML Custom Elements.
Observed Results
I am getting the following error:
[AlphaTab][API] An unexpected error occurred TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Steps to Reproduce
Use HTMLElement constructor()super()
Link to Project
https://www.emotive.productions/notation/the-battle-of-belief/tablature/
Further details
I don't believe the problem is with my code, since nodes are being generated correctly, however in the example provided:
https://www.alphatab.net/docs/tutorial-web/track-selector
this does not allow access of generated content from outside of (or within) the script function. Saying that, I am unsure as to whether HTML Custom Elements will be supported at any stage so if no fix can be implemented at any time, I will ask about a more simple way to achieve what I am trying to do because I cannot find any code on the home page or examples.
Your environment
Version
1.3-alpha.115
Flavor
JavaScript
System
Windows, FireFox and Chrome