Conversation
|
How would a developer provide this information? |
|
Is there a way to fully require this at runtime? The listing would be more of a suggestion, right? In this way maybe Maybe there's room for riffing on the attribute syntax: Here you apply a type to the attribute, it would be interesting to be able to add a element type and/or tag name in a form like: Fits in with the feeling behind this tweet: https://twitter.com/UXtechnologist/status/1408438674702929922
|
@thepassle for our purposes we would use a custom JSDocs Tags with Stencil.
This is a suggestion in the same way that only putting a The HTML spec is litered with these kinds of things:
@Westbrook this seems a little bit overly complex having both the selector and type information |
|
I think these types of discussions should be had on an issue, and not in a PR. If someone wants to open an issue for this. (the HTML spec has the concept of "content models" btw: https://html.spec.whatwg.org/multipage/dom.html#content-models) |
|
There is an issue: #46 |
Thanks. I didn't notice that linked. |
No description provided.