Elliott Sprehn e1e7110716 Add declarataive event handlers.
Now inside the <template> of a SkyElement you can use
on-eventName="method" on any element to add event listeners.

For example you can write <sky-button on-click="handleClick">
and then define handleClick(event) on the element class that
contains the button.

In adding this and tests I also realized that property bindings
were not setup on the initial call to bind(), which is now
fixed in this patch (See change to Node.prototype.bind).

R=eseidel@google.com, rafaelw@chromium.org

Review URL: https://codereview.chromium.org/812713005
2014-12-19 13:10:16 -08:00
..
2014-11-17 13:41:41 -08:00
2014-12-16 16:28:28 -08:00
2014-12-16 16:28:28 -08:00
2014-11-17 14:54:01 -08:00
2014-12-19 13:10:16 -08:00
2014-12-16 16:28:28 -08:00

Some of these examples are examples of what sky supports now. Others are examples of what sky hopes to one day support. Therefore not all these examples actually work today.