dijit/form/_ExpandingTextAreaMixin (version 1.10)

Summary

Mixin for textarea widgets to add auto-expanding capability

See the dijit/form/_ExpandingTextAreaMixin reference documentation for more information.

Method Summary

Event Summary

Methods

_estimateHeight()

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.

_resizeLater()
_setValueAttr()
postCreate()
resize()

Resizes the textarea vertically (should be called after a style/value change)

startup()

Events

_onInput(e)
Parameter Type Description
e undefined
Error in the documentation? Can’t find what you are looking for? Let us know!