Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

HTML5 Custom Elements

Open p-hennessy opened this issue 11 years ago • 2 comments

Since HTML5 allows us to define custom tags, has any thought been given to using custom tags to make simpler markup for Semantic?

I could see it being useful in defining custom form input elements like a calendar, spinner, slider, etc.

Or would this be better suited as a third party add-on that users could choose to use?

p-hennessy avatar Jan 01 '15 22:01 p-hennessy

my first thought was angular directives, they are great for such a job.

peterrobertz avatar Jan 05 '15 10:01 peterrobertz

This is W3C's web components spec. If you havent looked at "Shadow DOM" spec I encourage you to check it out. It's pretty scary stuff.

I have doubts about W3C web component adoption given the obtuseness of the spec. I've addressed my thoughts on the nature of standards bodies in other threads, so I'll avoid sounding like a broken record or ideologue.

On a related note, I'll be in the audience at the W3C TAG Q&A @ Google HQ in NYC on Wednesday if anyone is around.

jlukic avatar Jan 05 '15 22:01 jlukic