iTV.js Framework {{itv.version}} : Event - Context
My Button
To do:
- Press numeric keys [0..9].
- Press the "enter" key.
- Click/touch "My Button".
- When finished, press "back" to go back to the demo list.
Expected result:
- A log appears on the left with the corresponding "element id:event" couple displayed.
- Clicking or touching an element produces the same effect as setting focus to, then pressing the "enter" key on it.
Remark:
- "this" refers to the element receiving the event.
- Please view the source of this HTML document to check out the code that makes it work the way it does.