Replies: 2 comments 8 replies
-
@zeroedin I'm in favor of this practice since it would be familiar as well as semantic. And for custom elements, which are, in many respects, supposed to follow HTML it would seem appropriate IMO. We had gone this route (using common, semantic attributes) on PFE as well. For example:
For reference, other HTML elements with the |
Beta Was this translation helpful? Give feedback.
-
Spent a few minutes canvassing the neighbours:
I'm finding it a bit hard to develop an intuition for this. Maybe one could say " |
Beta Was this translation helpful? Give feedback.
-
Thoughts on using 'type' as a property name?
The
type
attribute is used on elements such asinput[type='radio']
should we avoid using it in custom elements?Beta Was this translation helpful? Give feedback.
All reactions