Ruby on Rails - ruby on rails forum- ruby on rails tutorial - rails guides - rails tutorial - ruby rails
Example
# Event handlers are attached using the 'on' method
class ClickMe < Hyperloop::Component
render do
DIV do
SPAN { "Hello There" }
A { "Click Me" }.on(:click) { alert('you did it!' }
end
end
end