- From: Erik Arvidsson <arv@chromium.org>
- Date: Wed, 6 Feb 2013 12:56:24 -0500
- To: Scott Miles <sjmiles@google.com>, Alex Russell <slightlyoff@google.com>
- Cc: Daniel Buchner <daniel@mozilla.com>, public-webapps <public-webapps@w3.org>, Dimitri Glazkov <dglazkov@google.com>, Boris Zbarsky <bzbarsky@mit.edu>
On Wed, Feb 6, 2013 at 12:47 PM, Scott Miles <sjmiles@google.com> wrote: >>> Instead of passing in functions to document.register we can call methods >>> on the custom element. > > My understanding is that the 'passing in functions' was a design decision, > not a technical one. IOW, Dimitri spec'd it that way so these (private) > lifecycle methods aren't just sitting there on the node's public API. > > This technique certainly on the table to change, but I think it's improper > to deem it technical debt. Good point about allowing these to be non public members of the element. With that in mind maybe we should reconsider to go back to the property bag even though it is a lot more verbose. -- erik
Received on Wednesday, 6 February 2013 17:57:12 UTC