Class: UnderOs::UI::Textarea

Inherits:
Input show all
Defined in:
lib/under_os/ui/textarea.rb

Constant Summary

Constants inherited from Input

Input::KEYBOARDS

Constants included from Wrap

Wrap::INSTANCES_CACHE, Wrap::RAW_WRAPS_MAP, Wrap::WRAPS_TAGS_MAP

Instance Method Summary collapse

Methods inherited from Input

#blur, #disable, #disabled, #disabled=, #enable, #focus, #hide_keyboard, #initialize, #keyboard, #keyboard=, #name, #name=, #placeholder, #placeholder=, #textFieldShouldReturn, #type, #type=, #value, #value=

Methods inherited from View

#initialize, #inspect

Methods included from Manipulation

#append, #clear, #insert, #insertTo, #prepend, #remove

Methods included from Traversing

#children, #empty?, #find, #first, #matches, #parent, #siblings

Methods included from Dimensions

#position, #position=, #size, #size=

Methods included from Animation

#animate, #fade_in, #fade_out, #highlight

Methods included from Commons

#data, #data=, #hidden, #hide, #id, #id=, #page, #show, #tagName, #toggle, #visible

Methods included from Styles

#addClass, #className, #className=, #classNames, #classNames=, #hasClass, #radioClass, #removeClass, #repaint, #style, #style=, #toggleClass

Methods included from Events

#emit, #off, #on, #on=

Methods included from Wrap

included

Constructor Details

This class inherits a constructor from UnderOs::UI::Input

Instance Method Details

#textViewDidBeginEditing(textView) ⇒ Object

delegate



8
9
10
# File 'lib/under_os/ui/textarea.rb', line 8

def textViewDidBeginEditing(textView)
  handle_focus
end

#textViewDidChange(textView) ⇒ Object



12
13
14
# File 'lib/under_os/ui/textarea.rb', line 12

def textViewDidChange(textView)
  handle_change
end

#textViewDidEndEditing(textView) ⇒ Object



16
17
18
# File 'lib/under_os/ui/textarea.rb', line 16

def textViewDidEndEditing(textView)
  handle_blur
end