Lesson

Riot JS - DOM Events

Riot can listen for raw dom events on any element by adding the on attribute to elements and referencing an event handler. Let's walk through a couple examples.

Duration
3 min
Access
Free
Transcript
Available

Riot can listen for raw dom events on any element by adding the on* attribute to elements and referencing an event handler. Let's walk through a couple examples.