api-viewer-element
api-viewer-element copied to clipboard
Initialize demo imperatively, with code
Is it possible to use a little code to set up the demo instance of an element?
I have a complex element which I want to initialise with code, including asynchronously loaded data.
I tried adding a <script> in my template[data-element] but it gets ignored.