Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic html custom data example #89

Open
Tracked by #91
sashafirsov opened this issue Feb 24, 2024 · 0 comments
Open
Tracked by #91

dynamic html custom data example #89

sashafirsov opened this issue Feb 24, 2024 · 0 comments

Comments

@sashafirsov
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant