Class: Wee::Brush::TextAreaTag
Overview
Constant Summary
collapse
- HTML_TAG =
'textarea'.freeze
Instance Attribute Summary
Attributes inherited from Wee::Brush
#canvas, #document
Instance Method Summary
collapse
#call, #callback, #callback_method
#get_oid, html_attr, #oid, #onclick_callback, #onclick_javascript, #onclick_update_callback, #onclick_update_self_callback, #ondblclick_callback
Methods inherited from Wee::Brush
#close, nesting?, #setup
Constructor Details
494
495
496
|
# File 'lib/wee/html_brushes.rb', line 494
def initialize
super(HTML_TAG)
end
|
Instance Method Details
#__callback ⇒ Object
509
|
# File 'lib/wee/html_brushes.rb', line 509
def __callback; name(@canvas.register_callback(:input, @callback)) end
|
#value(val) ⇒ Object
498
499
500
501
|
# File 'lib/wee/html_brushes.rb', line 498
def value(val)
@value = val
self
end
|
#with(value = nil) ⇒ Object
503
504
505
|
# File 'lib/wee/html_brushes.rb', line 503
def with(value=nil)
super(value || @value)
end
|