api-viewer-element icon indicating copy to clipboard operation
api-viewer-element copied to clipboard

Initialize demo imperatively, with code

Open tpluscode opened this issue 5 years ago • 0 comments

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.

tpluscode avatar Oct 25 '20 19:10 tpluscode