Skip to content

An Yii2 Textarea Autosize extension based on Autosize -- a small, stand-alone script to automatically adjust textarea height.

License

Notifications You must be signed in to change notification settings

cybercog/yii2-textarea-autosize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An Yii2 Textarea Autosize extension based on Autosize -- a small, stand-alone script to automatically adjust textarea height.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%