Class: Lapillus::TextArea

Inherits:
FormTextComponent show all
Defined in:
lib/lapillus/form_components.rb

Instance Attribute Summary

Attributes inherited from Component

#behaviours, #identifier, #model, #property, #visible

Instance Method Summary collapse

Methods inherited from FormTextComponent

#render_to_element, #value=

Methods inherited from FormComponent

#post, #render_to_element, #value, #value=

Methods inherited from Component

#add_behaviour, #behaviour, #has_behaviour?, #has_model?, #has_parent?, #initialize, #on_render, #parent, #path, #render_component, #response_page=, #session, #value, #visible?, #webpage

Constructor Details

This class inherits a constructor from Lapillus::Component

Instance Method Details

#render_text(element, text) ⇒ Object



58
59
60
# File 'lib/lapillus/form_components.rb', line 58

def render_text(element, text)
  element.text = text
end