3ch3r46 / jui-autogrow
The Jquery autogrow extension for texarea in yii framework
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Type:yii2-extension
pkg:composer/3ch3r46/jui-autogrow
This package is not auto-updated.
Last update: 2025-10-07 12:09:58 UTC
README
The Jquery autogrow extension for texarea in yii framework
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist 3ch3r46/jui-autogrow "*"
or add
"3ch3r46/jui-autogrow": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
!#php
<?= \a3ch3r46\juiAutogrow\Autogrow::widget(['selector' => '.text-area-grow']); ?>
or use this with jquery function call :
!#php
<?= \a3ch3r46\juiAutogrow\Autogrow::widget(['selector' => '.text-area-grow', 'functionName' => 'makeTextAutogrow']); ?>