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
* States

Table Of Contents
3 Views
19 Caching
23 Rails 5
25 Mongoid
26 Gems
55 CSV
66 Integrating React.js with Rails using Hyperloop