public
Description: git(hub) mirror of John R. Wulff's 'text_area_with_auto_resize' plugin
Homepage: http://code.google.com/p/rails-plugin-text-area-with-auto-resize/
Clone URL: git://github.com/joergbattermann/text_area_with_auto_resize.git
name age message
file README Sun Aug 03 15:12:37 -0700 2008 first commit [joergbattermann]
file init.rb Sun Aug 03 15:12:37 -0700 2008 first commit [joergbattermann]
directory lib/ Sun Aug 03 15:12:37 -0700 2008 first commit [joergbattermann]
file text_area_with_auto_resize.rb Sun Aug 03 15:12:37 -0700 2008 first commit [joergbattermann]
Text Area With Auto Resize
======================

=Description=
Overrides `ActionView::Helpers::FormHelper::text_area` to provide auto resizing/growing of text areas.

=Install=
`script/plugin install -x 
http://rails-plugin-text-area-with-auto-resize.googlecode.com/svn/trunk/text_area_with_auto_resize`

=Use=
Use `text_area` and `text_area_tag` just as before, no refactoring required.  And since method chaining is utilized you 
still have access to the old `text_area` via `text_area_without_auto_resize` or you can override the options by passing 
in `:rows => 1, :onKeyPress => nil`.

=License=
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.