On Tue, Feb 7, 2012 at 12:41 PM, Dimitri Glazkov <[email protected]>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 > (http://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html), > a pattern emerges, where a bunch of event handlers is declared and > registered early in the lifecycle of the custom elements > ( > http://dvcs.w3.org/hg/webcomponents/raw-file/tip/samples/entry-helper.html > , > http://dglazkov.github.com/Tabs/tabs-control.js as rough examples). > Is there a reason not to use (modifying as required) XML Events [1] for this purpose? [1] http://www.w3.org/TR/2003/REC-xml-events-20031014/
