Imagine if you could put this markup in a Web page:
<x-calendar controls chosen='2012-05-17'></x-calendar>
... and create this:
That is what Brick, a cross-browser library from Mozilla, will allow you to do. Using Brick you will be able to create custom HTML tags to:
As of August 27 Brick provides thirteen tags. Some tags abstract away complex widgets into simple HTML tags, such as <x-calendar> (as above), <x-deck> (a cyclable slide gallery), and <x-tooltip> (exactly as it sounds). Other tags provide cross-browser "native not-yet-globally-supported elements" such as <x-slider> and <x-datepicker> while others are:
Interesting stuff but, as the Mozilla blog points out:
... it will be a while before we see native browser support for the spec, but that doesn't mean developers can't start taking advantage of the component concept now ...
Sign up for Computerworld eNewsletters.