Jadelet Example Garden

Simple Button

A simple interactive button.

button(click=@sayHello)= @text
buttonElement = Template
  text: "Hello"
  sayHello: ->
    alert 'heyy'