Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dijit/form/Textarea.js

  • Provides:

    • dijit.form.Textarea
  • Requires:

    • dijit.form.SimpleTextarea in common
  • dijit.form.Textarea

    • type
      Function
    • chains:
      • dijit.form.SimpleTextarea: (prototype)
      • dijit.form.SimpleTextarea: (call)
    • summary
      A textarea widget that adjusts it's height according to the amount of data.
    • description
      A textarea that dynamically expands/contracts (changing it's height) as
      the user types, to display all the text without requiring a scroll bar.
      
      Takes nearly all the parameters (name, value, etc.) that a vanilla textarea takes.
      Rows is not supported since this widget adjusts the height.
    • example
      	<textarea dojoType="dijit.form.TextArea">...</textarea>
  • dijit.form.Textarea.baseClass

    • type
      String
  • dijit.form.Textarea.cols

    • type
      String
  • dijit.form.Textarea._previousNewlines

    • type
      Number
  • dijit.form.Textarea._strictMode

    • type
      bool
  • dijit.form.Textarea._getHeight

    • parameters:
      • textarea
    • type
      Function
  • dijit.form.Textarea._estimateHeight

    • parameters:
      • textarea
    • summary
      Approximate the height when the textarea is invisible with the number of lines in the text.
      Fails when someone calls setValue with a long wrapping line, but the layout fixes itself when the user clicks inside so . . .
      In IE, the resize event is supposed to fire when the textarea becomes visible again and that will correct the size automatically.
    • type
      Function
  • dijit.form.Textarea._needsHelpShrinking

    • type
      Object
  • dijit.form.Textarea._onInput

    • type
      Function
  • dijit.form.Textarea._busyResizing

    • type
      bool
  • dijit.form.Textarea.textbox

  • dijit.form.Textarea.textbox.style.maxHeight

    • type
      String
  • dijit.form.Textarea.textbox.style.height

  • dijit.form.Textarea._setTimeoutHandle

    • type
      Object
  • dijit.form.Textarea._shrink

    • type
      Function
  • dijit.form.Textarea.textbox.value

    • type
      String
  • dijit.form.Textarea.textbox.scrollHeight

  • dijit.form.Textarea.textbox.style.paddingBottom

    • type
      String
  • dijit.form.Textarea.textbox.scrollTop

    • type
      Number
  • dijit.form.Textarea.resize

    • summary
      Resizes the textarea vertically (should be called after a style/value change)
    • type
      Function
  • dijit.form.Textarea._setValueAttr

    • type
      Function
  • dijit.form.Textarea.buildRendering

    • type
      Function
  • dijit.form.Textarea.postCreate

    • type
      Function
  • dijit.form.Textarea.uninitialize

    • type
      Function
  • dijit.form

    • type
      Object
  • dijit

    • type
      Object