Closed magsout closed 10 years ago
@magsout You might need to add a bit of detail here — can you please describe the issue?
I am concerned about the specification attributes. The specification says that it is necessary to add data
- for each attribute used in an element. You add am-
directly into element. Your idea is interesting, but you invalidate the html page.
So what about the specification ? You don't care ? Or I missed something about data attributes ?
@magsout data-
attributes are purely optional. If you don't want to use custom elements prefixed with am-
, then you can use data-
attributes. Its as simple as that.
I'm having a hard time understanding your issue, so sorry if I've missed your point here :panda_face:
From what I understand from html specs, attributes that are not in the spec should always be prefixed by data-
, so you should use data-am-
.
@MoOx, @magsout We've discussed this at length in #4, feel free to move conversation over to there — I'll close this issue.