0.0.3 • Published 6 years ago
ngx-analog-wrist-watch v0.0.3
NgxAnalogWristWatch
This library was generated with Angular CLI version 8.2.14.
Demo
Here it is a Demo. please click here;
Installation
npm i ngx-analog-wrist-watch
Usage
1) Register the NgxAnalogWristWatchModule in your app module.
import { NgxAnalogWristWatchModule } from 'ngx-analog-wrist-watch'
import { NgxAnalogWristWatchModule } from 'ngx-analog-wrist-watch';
import { AppComponent } from './app.component';
@NgModule({
declarations: [AppComponent],
imports: [
NgxAnalogWristWatchModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}2) Use the directive (ngxWristAnalogwristwatch) in your component.
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-root',
template: ` <div ngxWristAnalogwristwatch (timeVal)="getVal($event)"></div>
`,
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit { }Props
| Name | optional | Default |
|---|---|---|
| fontSize | yes | inherit |
| id | no | |
| label | yes | |
| blur | yes | |
| focus | yes | |
| type | yes | |
| div | yes | |
| (timVal) | yes |
License
MIT