[Custom Elements] Should I write v1 Custom Elements in a way backwards compatible with v0 API?

2016-08-20 Thread /#!/JoePea
Due to the renaming of some class methods (attached/detached to connected/disconnected) and removal of createdCallback in favor of constructors (which is a good thing!), I find myself writing my WebComponent base class (class-factory mixin) as follows. My question is, should I be doing what I'm do

customized built-in element questions

2016-08-20 Thread Mark Giffin
I have two questions I cannot seem to find the answer to in the Custom Elements spec, https://www.w3.org/TR/2016/WD-custom-elements-20160721/ 1. Can I use the is= syntax for more than one customized built-in element, like ? 2. Is the is= syntax for using a customized built-in element likely t