Sha256: 095b45f0a4d8bedc4f5e70416c81795f7bb5e81c5ea56c88c3949936420df464

Contents?: true

Size: 602 Bytes

Versions: 124

Compression:

Stored size: 602 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Navigation
        require 'ruby_app/elements/mobile/navigation/navigation_button'

        class PageButton < RubyApp::Elements::Mobile::Navigation::NavigationButton

          template_path(:all, File.dirname(__FILE__))

          attr_accessor :page

          def initialize(page = nil)
            super()

            @page = page

            self.clicked do |element, event|
              page = @page.new
              page.show(event, self.options)
            end

          end

        end

      end

    end

  end

end

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
RubyApp-0.6.42 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.41 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.40 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.39 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.38 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.36 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.35 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.34 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.33 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.32 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.31 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.29 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.28 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.27 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.26 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.25 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.24 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.22 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.21 lib/ruby_app/elements/mobile/navigation/page_button.rb
RubyApp-0.6.16 lib/ruby_app/elements/mobile/navigation/page_button.rb