JSBAngularFlipClock
- A simple Number Counter Commponent to be used with Angular.
- It is developed using
Angular >=8.0.0
and its newly introducedng g library
schematics. - This library is part of JSBNumberCounter project and it is generated with Angular CLI version 8.3.21.
- Library location:
projects/jsb-angular-flip-clock
directory of this repository.
Examples/Demo
- A simple Example can be found under
src/app
directory of this repository.
Installation
npm i jsb-angular-flip-clock
Demo
API
import { JSBAngularFlipClockModule } from 'jsb-angular-flip-clock'
selector: JSB-flipclock
@Inputs()
Input | Type | Required | Description |
---|---|---|---|
HoursTensPlace | number | YES | the Number Data to be disaplayed. |
HoursOnesPlace | number | YES | the Number Data to be disaplayed. |
MinutesTensPlace | number | YES | the Number Data to be disaplayed. |
MinutesOnesPlace | number | YES | the Number Data to be disaplayed. |
SecondsTensPlace | number | YES | the Number Data to be disaplayed. |
SecondsOnesPlace | number | YES | the Number Data to be disaplayed. |
Usage
- Register the
JSBNumCounterModule
in your app module.
import { JSBAngularFlipClockModule } from 'jsb-angular-flip-clock'
;; ;;;
- Use the selector
(JSBNumCounter)
in your component.
;