1.4.2 • Published 6 years ago

angular2-elastic-input v1.4.2

Weekly downloads
125
License
MIT
Repository
github
Last release
6 years ago

angular2-elastic-input

Angular attribute directive that adjusts the width of a text input while typing.

Based on angular-elastic-input.

Build Status version PRs Welcome All Contributors Greenkeeper badge

Install

npm install --save angular2-elastic-input

Example

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.

Contributors

Thanks goes to these wonderful people (emoji key):

Spyros Ioakeimidis💬 💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago