0.1.0 • Published 8 years ago
ng-elastic-input v0.1.0
ng-elastic-input
Installation
To install this library, run:
$ npm install ng-elastic-input --saveand then from your Angular AppModule:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import your library
import { ElasticInputModule } from 'ng-elastic-input';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// Specify your library as an import
ElasticInputModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }Once ElasticInputModule is imported, you can use its directive in your Angular application:
<input type="text" elastic>You can pass the following properties to the directive:
<input type="text" elastic [minWidth]="100" [maxWidth]="300">Development
To generate all *.js, *.d.ts and *.metadata.json files:
$ npm run buildTo lint all *.ts files:
$ npm run lintAuthors
- Felipe Céspedes - felipecespedespisso@gmail.com - Viwell
License
This project is licensed under the MIT License - see the LICENSE file for details
0.1.0
8 years ago