Download the PHP package philippfrenzel/yii2-textareaautosize without Composer
On this page you can find all versions of the php package philippfrenzel/yii2-textareaautosize. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download philippfrenzel/yii2-textareaautosize
More information about philippfrenzel/yii2-textareaautosize
Files in philippfrenzel/yii2-textareaautosize
Package yii2-textareaautosize
Short Description Yii2 textareaautosize Widgets
License MIT
Homepage http://www.frenzel.net/
Informations about the package yii2-textareaautosize
yii2-textareaautosize
JQuery Fullcalendar Yii2 Extension JQuery from: http://arshaw.com/fullcalendar/ Version 2.1.1 License MIT
JQuery Documentation: http://arshaw.com/fullcalendar/docs/ Yii2 Extension by [email protected]
A tiny sample can be found here: http://yii2textareaautosize.beeye.org
Installation
Package is although registered at packagist.org - so you can just add one line of code, to let it run!
add the following line to your composer.json require section:
And ensure, that you have the follwing plugin installed global:
php composer.phar global require "fxp/composer-asset-plugin:~1.0"
Changelog
29-11-2014 Updated to latest 2.2.3 Version of the library
Usage
Quickstart Looks like this:
Minimum CSS Requirements
The only requirement is to set box-sizing: border-box and a min-height on the textarea. In the example below, the minimum height is one line of text which is determined from the base font size, line height, and vertical padding and border.
Increase the min-height to have more initial rows. Once text exceeds that minimum height the textarea will expand naturally. The overflow-x setting is for Firefox to prevent an initial additional line from appearing.