- From: Ryosuke Niwa <rniwa@apple.com>
- Date: Mon, 11 Apr 2016 10:28:55 -0700
- To: /#!/JoePea <trusktr@gmail.com>
- Cc: dglazkov@chromium.org, public-webapps@w3.org
That's exactly what we're doing. The latest spec uses ES6 class constructor to define custom elements. See an example below this section in DOM spec: https://dom.spec.whatwg.org/#concept-element-custom-element-state - R. Niwa > On Apr 10, 2016, at 7:58 PM, /#!/JoePea <trusktr@gmail.com> wrote: > > It'd be nice if users could define actual constructors, as described here: > > https://github.com/w3c/webcomponents/issues/423#issuecomment-208131046 > > Cheers! > - Joe > > /#!/JoePea >
Received on Monday, 11 April 2016 17:29:26 UTC