Re: [webcomponents] Considering declarative event handlers

On Tue, Feb 7, 2012 at 12:41 PM, Dimitri Glazkov <>wrote:

> To make Web Components more usable, I would like to consider providing
> a way to declare event handlers in markup. As I look over the use
> cases and try to implement them using the proposed syntax
> (,
> a pattern emerges, where a bunch of event handlers is declared and
> registered early in the lifecycle of the custom elements
> (
> ,
> as rough examples).

Is there a reason not to use (modifying as required) XML Events [1] for
this purpose?


Received on Wednesday, 8 February 2012 22:51:09 UTC