Event Handlers

suggest change
# Event handlers are attached using the 'on' methodclass ClickMe < Hyperloop::Componentrender doDIV doSPAN { "Hello There" }A { "Click Me" }.on(:click) { alert('you did it!' }endendend

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Integrating React.js with Rails using Hyperloop:
*Event Handlers

Table Of Contents
55CSV
66Integrating React.js with Rails using Hyperloop