Sha256: b884ff98df35b1028d114e8790f15c1a9f8c722a19a0a593058afb8e20e3e3fc

Contents?: true

Size: 583 Bytes

Versions: 22

Compression:

Stored size: 583 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

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

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

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

          def initialize
            super

            self.options.merge!(:reverse => true)

            self.clicked do |element, event|
              RubyApp::Session.document.pages.last.hide(event, self.options)
            end

          end

        end

      end

    end

  end

end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
RubyApp-0.5.36 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.35 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.34 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.33 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.32 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.31 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.30 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.29 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.28 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.23 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.18 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.17 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.16 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.15 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.14 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.13 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.12 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.11 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.10 lib/ruby_app/elements/mobile/navigation/hide_button.rb
RubyApp-0.5.9 lib/ruby_app/elements/mobile/navigation/hide_button.rb