Sha256: 7ebf32b4ee74047dfd800231cac98ec07fd916021093f1a53da93732003e0b33

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

class UnderOs::UI::Textarea < UnderOs::UI::View
  include UnderOs::UI::Editable

  wraps UITextView, tag: 'textarea'

  def initialize(options={})
    super

    self.value       = options[:value]       if options[:value]
    self.keyboard    = options[:keyboard]    if options[:keyboard]
  end

  alias :text= :value= # to get values from the HTML layouts
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
under-os-1.1.0 lib/under_os/ui/textarea.rb
under-os-1.0.0 lib/under_os/ui/textarea.rb