CurrentTime
Hierarchy
-
↳
CurrentTime
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
new CurrentTime(uid?, opts?)
Define a current time handler
Parameters
| Name | Type | Description |
|---|---|---|
uid? | string | Optional, provides recallable uid |
opts? | CurrentTimeOpts |
Overrides
Properties
uid
Readonly uid: string
Inherited from
Accessors
output
get output(): string
Return the current time with given format
Returns
string
Methods
close
close(): void
Returns
void
Inherited from
input
input(value?): void
Call the current time with the given format
Parameters
| Name | Type |
|---|---|
value? | any |
Returns
void
off
off(event, handler): any
Parameters
| Name | Type |
|---|---|
event | string |
handler | any |
Returns
any
Inherited from
on
on(event, handler): any
Parameters
| Name | Type |
|---|---|
event | string |
handler | any |
Returns
any