Elliott Sprehn 0a258c1921 Allow on-* event handlers on <sky-element>.
Now instead of calling addEventListener inside the created() callback you just
add on-{eventName} attributes to the <sky-element> around your element
definition. The attribute defines what method on your element to call when the
event with {eventName} is dispatched through your element.

Implementing this required refactoring how sky-element.sky stored information
from each registered element. Now instead of storing just a map of templates
we store a map of ElementRegistration objects which have metadata about the
element. Future patches will combine this system with the element registration
system in sky-binder.

R=ojan@chromium.org

Review URL: https://codereview.chromium.org/845283003
2015-01-12 18:25:22 -08:00
..
2014-12-17 16:05:15 -08:00
2014-11-21 16:08:31 -08:00
2015-01-06 15:41:14 -08:00
2014-11-20 10:55:28 -08:00
2015-01-08 17:20:00 -08:00
2014-12-02 10:09:35 -08:00
2015-01-08 17:20:00 -08:00