Class: HTextAreaTag

Inherits:
HInputTag show all
Defined in:
lib/hwidgets/htextareatag.rb

Instance Attribute Summary

Attributes inherited from HInputTag

#label, #modelName, #name, #placeholder, #reverse, #type

Attributes inherited from HWidget

#tag

Instance Method Summary collapse

Methods inherited from HInputTag

#html, init, #setCarriageReturn, #setReverse

Methods inherited from HWidget

#_addJsSlot, #_set, #_setStyle, #addJsFunction, #appendChild, #appendChilds, #buildSignature, #closeTag, #connect, #copyConstructor, #get, #getChilds, #getElementBy, #getSystemProperty, #hotLog, #html, #openTag, #replacePlaceholder, #reset, #set, #setChilds, #setCloseTag, #setClosedTag, #setEnablePlaceholder, #setInnerHTML, #setParent, #setPlaceholder, #setPlaceholders, #setProperties, #setSlots, #setStyle, #setStyles, #setSystemProperties, #setSystemProperty, #setTag, #storeSlots, #storeStyle, #strProperties, test, #unset, widgetSpace

Constructor Details

#initialize(name = "", modelName = "", placeholder = "", label = nil) ⇒ HTextAreaTag

Returns a new instance of HTextAreaTag.



9
10
11
12
13
14
# File 'lib/hwidgets/htextareatag.rb', line 9

def initialize(name = "", modelName = "", placeholder = "", label = nil)
  super(name, modelName, placeholder, label, nil)
  @tag = "textarea"
  @type = nil
  self.setClosedTag()
end

Instance Method Details

#setSelected(value) ⇒ Object



16
17
18
# File 'lib/hwidgets/htextareatag.rb', line 16

def setSelected(value)
  set(value: value) 
end