Sha256: 4d2dabf34daf9f285f11409ddec50be701cf5793d8ae5b8c0cbbcc655d9f946f
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
module Druid module Elements class TextArea < Element def self.finders super + [:label] end # # Set the value of the TextArea # def value=(new_value) element.set(new_value) end # # Clear the TextArea # def clear element.clear end # # append the text to the end of the text in the text area # def append(text) element.append(text) end end Druid::Elements.tag_to_class[:textarea] = Druid::Elements::TextArea end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
druid-ts-1.2.2 | lib/druid/elements/text_area.rb |
druid-ts-1.2.1 | lib/druid/elements/text_area.rb |