2017 © Pedro Peláez
 

yii2-extension autogrow

The Jquery autogrow extension for texarea in yii framework

image

moonlandsoft/autogrow

The Jquery autogrow extension for texarea in yii framework

  • Saturday, January 24, 2015
  • by moonlandsoft
  • Repository
  • 1 Watchers
  • 0 Stars
  • 44 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

jQuery Autogrow

The Jquery autogrow extension for texarea in yii framework, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist moonlandsoft/autogrow "*"

or add, (*4)

"moonlandsoft/autogrow": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

<?= Autogrow::widget(['selector' => '.text-area-grow']); ?>

or use this with jquery function call :, (*7)

<?= Autogrow::widget(['selector' => '.text-area-grow', 'functionName' => 'makeTextAutogrow']); ?>

For from widget, you can use code below :, (*8)

<?= $form->field($model, 'attribute')->widget(AutogrowInput::className(), ['options' => ['class' => 'form-control']]); ?>

The Versions

24/01 2015

dev-master

9999999-dev

The Jquery autogrow extension for texarea in yii framework

  Sources   Download

MIT

by Moh Khoirul Anam

extension yii2 jquery textarea autogrow

24/01 2015

1.0.0

1.0.0.0

The Jquery autogrow extension for texarea in yii framework

  Sources   Download

MIT

by Moh Khoirul Anam

extension yii2 jquery textarea autogrow