Sha256: ade75b4160a931e1828cce3d5987ea2d0b967ec7719a673ba7dc71f2174f658c
Contents?: true
Size: 992 Bytes
Versions: 1
Compression:
Stored size: 992 Bytes
Contents
module RubyApp module Elements module Pages module TestPages require 'rubyapp/elements/pages/test_pages/base_test_page' class InputTestPage < RubyApp::Elements::Pages::TestPages::BaseTestPage template_path(__FILE__) def initialize super require 'rubyapp/elements/dialogs/message_dialog' require 'rubyapp/elements/input' @input = RubyApp::Elements::Input.new @input.changed do |element, event| @dialog = RubyApp::Elements::Dialogs::MessageDialog.new(self.class.translate.message_title, self.class.translate.message_body(event.value)) @dialog.hidden do |element, event| @dialog = nil end event.show_dialog(@dialog) end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
_rubyapp-0.0.3 | lib/rubyapp/elements/pages/test_pages/input_test_page.rb |