uran1980/yii2-textarea-autosize An Yii2 Textarea Autosize extension based on Autosize javascript library.

javascripttextareaautosizeyii2-textarea-autosize

Yii2 Textarea Autosize

This component based on A small, stand-alone script to automatically adjust textarea height.

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require uran1980/yii2-textarea-autosize "dev-master"

or add

"uran1980/yii2-textarea-autosize": "dev-master"

to the require section of your composer.json

Usage

add as dependensy in you AssetBundle.php for example:


namespace frontend\assets;

class YourAppAsset extends \yii\web\AssetBundle
{
    ...
    public $depends = [
        'uran1980\yii\assets\TextareaAutosizeAsset',
        ...
    ];
}

Author

Ivan Yakovlev, e-mail: uran1980@gmail.com

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.6 is the latest of 6 releases



MIT license
Stats
1 github stars & 2 github forks
0 downloads in the last day
8 downloads in the last 30 days
9915 total downloads