Sha256: de5a335e9e656710be49a6752a57403bc1b08edf4bb29a9a08e90a7f2aa7bcc6

Contents?: true

Size: 733 Bytes

Versions: 24

Compression:

Stored size: 733 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Dialogs
        require 'ruby_app/elements/mobile/dialogs/response_dialog'

        class AcknowledgementDialog < RubyApp::Elements::Mobile::Dialogs::ResponseDialog

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

          def initialize(title, message)
            super()

            @response = false

            @title = title
            @message = message

            @ok_link = RubyApp::Elements::Mobile::Dialogs::ResponseDialog::CloseLink.new
            @ok_link.clicked do |element, event|
              @response = true
              self.hide(event, element.options)
            end

          end

        end

      end

    end

  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
RubyApp-0.5.38 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.37 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.36 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.35 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.34 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.33 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.32 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.31 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.30 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.29 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.28 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.23 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.18 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.17 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.16 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.15 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.14 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.13 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.12 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb
RubyApp-0.5.11 lib/ruby_app/elements/mobile/dialogs/acknowledgement_dialog.rb