W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Custom element design with ES6 classes and Element constructors

From: Dimitri Glazkov <dglazkov@google.com>
Date: Thu, 15 Jan 2015 11:28:01 -0800
Message-ID: <CADh5Ky0MuQ2eY+aPnSjkVoRbr-cZjEbx4VEqpuVSFa1R=oN+Fg@mail.gmail.com>
To: Domenic Denicola <d@domenic.me>
Cc: Yehuda Katz <wycats@gmail.com>, Erik Arvidsson <arv@google.com>, Dmitry Lomov <dslomov@chromium.org>, WebApps WG <public-webapps@w3.org>
> > We're already doing some crude namespacing with *Callback. I'd expect
> that as soon as the first iteration of Custom Elements is out, people will
> copy the *Callback style in user code.
> This is a powerful point that I definitely agree with. I would not be
> terribly surprised to find some library on the web already that asks you to
> create custom elements but encourages you supply a few more
> library-specific hooks with -Callback suffixes.
That makes sense. I am okay with that.

Received on Thursday, 15 January 2015 19:28:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:43 UTC