Class: Wee::HtmlCanvas

Inherits:
Object
  • Object
show all
Defined in:
lib/nemo.rb

Instance Method Summary collapse

Instance Method Details

#nemo_calendar_buttonObject

Nemo’s standard calendar button

class MyComponent < Wee::Component
  def render
    r.nemo_calendar_button.callback {}
  end
end


44
45
46
# File 'lib/nemo.rb', line 44

def nemo_calendar_button
  image_button.src('/nemo/calendar.gif').width(16).height(16).alt('Calendar').style('border: 0')
end