Sha256: 8c755a139251bf131b5e1c3c5386974406181cb645a2df994b22755205c291f4

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

class UnderOs::UI::Textarea < UnderOs::UI::Input
  wraps UITextView, tag: 'textarea'

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

# delegate

  def textViewDidBeginEditing(textView)
    handle_focus
  end

  def textViewDidChange(textView)
    handle_change
  end

  def textViewDidEndEditing(textView)
    handle_blur
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
under-os-ui-1.4.0 lib/under_os/ui/textarea.rb
under-os-1.3.0 lib/under_os/ui/textarea.rb
under-os-1.2.1 lib/under_os/ui/textarea.rb
under-os-1.2.0 lib/under_os/ui/textarea.rb