Skip to content

Commit 6effaef

Browse files
Merge pull request #17 from choudharymahipal/v2changes
v2 changes
2 parents b864d50 + 8a80dd2 commit 6effaef

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import { Component } from '@angular/core';
9494
templateUrl: './app.component.html'
9595
})
9696
export class YourComponent {
97-
targetTime: Date = new Date('2025-12-31T23:59:59'); //Required
97+
targetDate: Date = new Date('2025-12-31T23:59:59'); //Required
9898
9999
//show and hide cards
100100
display_days: boolean = false; //Optional
@@ -103,10 +103,10 @@ export class YourComponent {
103103
display_seconds: boolean = true; //Optional
104104
105105
//labels
106-
label_days: string = "Day"; //Optional
107-
label_hours: string = "Hour"; //Optional
108-
label_minutes: string = "Minute"; //Optional
109-
label_seconds: string = "Second"; //Optional
106+
label_days: string = "Days"; //Optional
107+
label_hours: string = "Hours"; //Optional
108+
label_minutes: string = "Minutes"; //Optional
109+
label_seconds: string = "Seconds"; //Optional
110110
111111
//Callback events
112112
isTimerRunning: boolean = false;

projects/countdown-timer/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ import { Component } from '@angular/core';
9494
templateUrl: './app.component.html'
9595
})
9696
export class YourComponent {
97-
targetTime: Date = new Date('2025-12-31T23:59:59'); //Required
97+
targetDate: Date = new Date('2025-12-31T23:59:59'); //Required
9898
9999
//show and hide cards
100100
display_days: boolean = false; //Optional
@@ -103,10 +103,10 @@ export class YourComponent {
103103
display_seconds: boolean = true; //Optional
104104
105105
//labels
106-
label_days: string = "Day"; //Optional
107-
label_hours: string = "Hour"; //Optional
108-
label_minutes: string = "Minute"; //Optional
109-
label_seconds: string = "Second"; //Optional
106+
label_days: string = "Days"; //Optional
107+
label_hours: string = "Hours"; //Optional
108+
label_minutes: string = "Minutes"; //Optional
109+
label_seconds: string = "Seconds"; //Optional
110110
111111
//Callback events
112112
isTimerRunning: boolean = false;

projects/countdown-timer/src/lib/countdown-timer.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, Input, OnInit, OnDestroy } from '@angular/core';
1+
import { Component, Input, OnInit, OnDestroy, EventEmitter, Output } from '@angular/core';
22
import { interval, Subscription } from 'rxjs';
33
import { iTimeRemaining } from '../Interfaces/iCountdown';
44

0 commit comments

Comments
 (0)