ClockTemplate
A template showing a clock, it consumes an object containing a date and a text
Properties
1
Properties
1template: function
Get the clock template, which accepts an object of format { date, text }
| Parameter | Type | Description |
|---|---|---|
data | Object | Data object |
data.date | Date | The date to show |
data.text | String | The text to show |
Returns: String
CSS variables
4
CSS variables
4| Name | Description |
|---|---|
--b-clock-size | Clock size |
--b-clock-hand-width | Clock hand width |
--b-clock-dial-background | Clock dial background |
--b-clock-hand-color | Clock hand color |