MacFJA/enyo2-lib — pull request #4 by whatfield73 (2012-07-30 01:26:27+00:00)
Title: Pull to add feature

This allows you to dynamically change the columns as well which can create a behavior more like a richtext box. Setting min and max the same keeps your width to the max and allows your height to change based on input.

this.$.textarea.setMinCols(Math.floor(this.node.clientWidth/10)-1);
this.$.textarea.setMaxCols(Math.floor(this.node.clientWidth/10)-1);