Angular attribute directive that adjusts the width of a text input while typing.
Based on angular-elastic-input.
npm install --save angular2-elastic-input
import {NgModule, Component} from '@angular/core';
import {ElasticInputModule} from 'angular2-elastic-input';
@Component({
template: `
<input type="text" elastic-input>
`
})
class AppComponent { }
@NgModule({
imports: [ElasticInputModule.forRoot()],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule { }
Check the docs for a complete example.
Thanks goes to these wonderful people (emoji key):
Spyros Ioakeimidis 💬 💻 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!