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:



Table Of Contents