Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dart_and_web_applications [2013/12/30 05:01]
root
dart_and_web_applications [2013/12/30 06:13] (current)
root [Selectors and Events]
Line 29: Line 29:
 | Asterisk * ​ | Matches all elements |  | Asterisk * ​ | Matches all elements | 
 | Attribute input[type=”button”] | Matches all button input elements |  | Attribute input[type=”button”] | Matches all button input elements | 
 +
 +
 +Once you have selected an event you can bind it to events ​
 +
 +<​code>​
 +   ​elem.onMouseUp.then((event) => doCoolStuff());​
 +</​code>​
 +
 +or fire only once .. 
 +<​code>​
 + ​elem.onMouseUp.first.then((event) => doCoolStuff());​
 +</​code>​
 
dart_and_web_applications.txt · Last modified: 2013/12/30 06:13 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd