3 ms·
Custom elements can have their own JS apis! They're not just for style. Check it: http://www.html5rocks.com/en/tutorials/webcomponents/customelements/ http://ww
by rictic 11y ago
Custom elements can have their own JS apis! They're not just for style. Check it: http://www.html5rocks.com/en/tutorials/webcomponents/customelements/ http://www.html5rocks.com/en/tutorials/webcomponents/custome...
- mstade 11y agoSure, and that's cute, but now make me an API that picks a file from a user's hard drive – or a photo from the photo roll. Yeah. My point isn't about putting JS on to DOM, that can be done without web components too. Rather, it's about the lack of proper access to input devices, actual data that matters.