0.0.3 • Published 4 years ago

ngx-analog-wrist-watch v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

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

NameoptionalDefault
fontSizeyesinherit
idno
labelyes
bluryes
focusyes
typeyes
divyes
(timVal)yes

License

MIT