Skip to content

Initialize demo imperatively, with code #46

Open
@tpluscode

Description

@tpluscode

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions