Sha256: f8e83fad8f1853c1ffc25a7a9aeb4d772252271144ca97a863eabf70e6899d16
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
module RubyApp module Elements module Mobile module Default module Features module Calendars require 'ruby_app' require 'ruby_app/elements/mobile/calendars/month' require 'ruby_app/elements/mobile/dialogs/acknowledgement_dialog' require 'ruby_app/elements/mobile/navigation/back_button' require 'ruby_app/elements/mobile/page' class MonthPage < RubyApp::Elements::Mobile::Page template_path(:all, File.dirname(__FILE__)) def initialize super @back_button = RubyApp::Elements::Mobile::Navigation::BackButton.new @month = RubyApp::Elements::Mobile::Calendars::Month.new @month.changed do |element, event| RubyApp::Elements::Mobile::Dialog.show(event, RubyApp::Elements::Mobile::Dialogs::AcknowledgementDialog.new('Month', "You selected day #{@month.value.day}."), :transition => 'pop') end end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
RubyApp-0.5.32 | lib/ruby_app/elements/mobile/default/features/calendars/month_page.rb |
RubyApp-0.5.31 | lib/ruby_app/elements/mobile/default/features/calendars/month_page.rb |