0.1.0 • Published 5 years ago

angular-countdown-date-time v0.1.0

Weekly downloads
103
License
-
Repository
-
Last release
5 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

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago