0.1.0 • Published 6 years ago

angular-countdown-date-time v0.1.0

Weekly downloads
103
License
-
Repository
-
Last release
6 years ago

angular-countdown-date-time

angular countdown by end time

Image of Yaktocat

Installation

To install this library, run:

usage

add to your module:

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

import { AngularCountdownDateTimeModule } from 'angular-countdown-date-time';
 
@NgModule({
  imports: [
  AngularCountdownDateTimeModule,
  ...
  ]
})
export class YourModule { }

in your component define end time:

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

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.sass']
})

export class AppComponent {
  endTime  = '2019-06-29T00:00:00';
}

in your html :

<lib-angular-countdown-dateTime [endDateBind]="endTime" [dayText]="'day'" [hourText]="'hour'" [minutesText]="'minute'" [secondsText]="'second'"> </lib-angular-countdown-dateTime>

for support RTL :

<div dir="rtl">
<lib-angular-countdown-dateTime [endDateBind]="endTime" [dayText]="'day'" [hourText]="'hour'" [minutesText]="'minute'" [secondsText]="'second'"> </lib-angular-countdown-dateTime>
</div>
0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago