Clock
Clock component displaying the current time.
Options
- duration |
boolean
: if set, the duration of the session is displayed (not the actual time). Default:false
. - format |
string
: time format (eitherHH:MM
,HH:MM:SS
, orHH
). Default:''
. - className |
string
: class name. Default:''
. - style |
object
: CSS inline styles. Default:{}
.
Examples
- Minimal
- Duration
- Format
- With CSS
Live Editor
Result
ReferenceError: Provider is not defined