Skip to content

dynamic html custom data example #89

@sashafirsov

Description

@sashafirsov

Some definitions of HTML tags can be defined inline in same html file source. Either as from inline script tag with custom element class or from HTML markup as Declarative Custom Element.

In both cases the custom tag is

  • defined inline in source, hence can not be hardcoded into global custom data file. The tag does not make a sence outside.
  • need to be updated on fly, during the edit. As it is done in TS version of Custom Element and immediately available in html literal( Lit ) or JSX ( React ).

Inline DCE sample, there are about a dozen of other implementations, each need the plugin example to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions