Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
teddi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
teddi
Commits
dd066dbe
Commit
dd066dbe
authored
Nov 16, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a70dd304
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Countdown.js
dist/time/Countdown.js
+1
-0
countdown.ts
src/time/countdown.ts
+1
-0
No files found.
dist/time/Countdown.js
View file @
dd066dbe
...
@@ -70,6 +70,7 @@ var Countdown = /** @class */ (function (_super) {
...
@@ -70,6 +70,7 @@ var Countdown = /** @class */ (function (_super) {
this
.
emit
(
"complete"
);
this
.
emit
(
"complete"
);
};
};
Countdown
.
prototype
.
reset
=
function
(
$seconds
)
{
Countdown
.
prototype
.
reset
=
function
(
$seconds
)
{
clearInterval
(
this
.
_timer
);
this
.
_counter
=
0
;
this
.
_counter
=
0
;
this
.
_seconds
=
$seconds
;
this
.
_seconds
=
$seconds
;
};
};
...
...
src/time/countdown.ts
View file @
dd066dbe
...
@@ -64,6 +64,7 @@ export class Countdown extends EventEmitter<any> {
...
@@ -64,6 +64,7 @@ export class Countdown extends EventEmitter<any> {
}
}
reset
(
$seconds
:
number
)
{
reset
(
$seconds
:
number
)
{
clearInterval
(
this
.
_timer
);
this
.
_counter
=
0
;
this
.
_counter
=
0
;
this
.
_seconds
=
$seconds
;
this
.
_seconds
=
$seconds
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment