The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Fine-grained control over the DOM Source

Fine-grained control over the DOM Source

2:58
What if we wanted to change the behavior of our app reset the timer every time the mouse *hovers* over it? Currently we only support clicks, and they are hard coded in the DOM Driver. This lesson will introduce DOMSource.selectEvents(), a way of making the DOM Source rich and allowing the main() function to determine which read effects it needs.
Watch this lesson now
Avatar
egghead.io

What if wanted to change the behavior of our app reset the timer every time the mouse hovers over it? Currently we only support clicks, and they are hard coded in the DOM Driver. This lesson will introduce DOMSource.selectEvents(), a way of making the DOM Source rich and allowing the main() function to determine which read effects it needs.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?