RE: Minimum viable custom elements

On Wed Feb 4 02:08 PM, Ryosuke Niwa wrote:
> 
> <x-checkbox><input type="checkbox" checked="true"></x-checkbox>
> <x-slider><input type="range" min="-100" max="100" value="0"
> step="5"></x-slider>
> 

To me this seems like a winning pattern at least when it comes to input.

This did a good job a describing the two approaches:
https://wiki.whatwg.org/wiki/Behavior_Attachment

Where does the decorator pattern/approach stand?

Received on Monday, 9 February 2015 14:06:28 UTC