Class: Textarea

"montage/ui/native/textarea.reel". Textarea

new Textarea()

Wraps the a <textarea> element with binding support for the element's standard attributes. Uses an ArrayController instance to manage the element's contents and selection.
Source:

Extends

Members

_updateOnInput :boolean

Hard to imagine a text-input that is not using a input nor textarea
Type:
  • boolean
Inherited From:
Default Value:
  • true
Source:

cols :number

The maximum number of characters per line of text to display.
Type:
  • number
Default Value:
  • null
Source:

rows :number

The number of lines of text the browser should render for the textarea.
Type:
  • number
Default Value:
  • null
Source:

updateOnInput :boolean

When this property and the converter's allowPartialConversion are both true, as the user enters text in the input element each new character is added to the component's value property, which triggers the conversion. Depending on the type of input element being used, this behavior may not be desirable. For instance, you likely would not want to convert a date string as a user is entering it, only when they've completed their input. Specifies whether
Type:
  • boolean
Inherited From:
Default Value:
  • true
Source:

wrap :string

If the value of this property is "hard", the browser will insert line breaks such that each line of user input has no more characters than the value specified by the cols property. If the value is "soft" then no line breaks will be added.
Type:
  • string
Source: