12.0.0 • Published 4 years ago

@innomobile/countdown-timer v12.0.0

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

@innomobile/countdown-timer

This is a fork of https://github.com/markpenaranda/ngx-countdown-timer - Changes:

  • Updated for Angular 6+
  • Not use of RxJs in peer dependency

Installation

To install this library, run:

$ npm install @innomobile/countdown-timer

Usage

Just import the CountdownTimerModule in the module where you need the countdown timer

import { NgModule } from '@angular/core';

// Import your library
import { CountdownTimerModule } from '@innomobile/countdown-timer';

@NgModule({
  declarations: [
    
  ],
  imports: [
    CountdownTimerModule
  ]
})
export class YourModule { }

Once your library is imported, you can use <im-countdown-timer>

<h1>
  {{title}}
</h1>
Timer mode:
<countdown-timer [start]="'2017-01-01 00:00:00'"></countdown-timer>
 
Countdown:
<countdown-timer [end]="'2018-01-01 00:00:00'"></countdown-timer>

Countdown with zero trigger:
<countdown-timer (zeroTrigger)="yourOwnFunction()" [end]="'2018-01-01 00:00:00'"></countdown-timer>

License

MIT

12.0.0

4 years ago

10.0.0

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

4.0.0

6 years ago

4.0.0-rc.0

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0-1

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.2.13

7 years ago

1.2.10

7 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago