dz-angular2-autosize
v1.0.0
Published
Directive that automatically adjusts input width to fit content
Downloads
5
Maintainers
Readme
angular2-autosize
angular2-autosize is a fork from (https://github.com/stevepapa/angular2-autosize). It was modified to work with input tags instead of textarea.
Use Example:
Add the declaration to your @NgModule:
import {AutosizeDirective} from 'angular2-autosize';
...
@NgModule({
declarations: [
AutosizeDirective
]
})
Use directly inside your HTML templates
<input autosize class="my-input" type="text">
Author
Licence
This project is licensed under the MIT license. See the LICENSE file for more info.