Using custom web components with van.tags #234
Closed
deanebarker
started this conversation in
General
Replies: 3 comments 2 replies
-
Try this? const {"my-web-component": myWebComponent} = van.tags |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, worked perfectly. Thank you. |
Beta Was this translation helpful? Give feedback.
0 replies
-
How about setting attributes with hyphens in the name?
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I integrate VanJS with custom web components? By definition, these tags have a dash in the title, and I don't believe this works for JavaScript variable names.
So this does not work --
Beta Was this translation helpful? Give feedback.
All reactions