ClockTemplate

A template showing a clock, it consumes an object containing a date and a text

Properties

1
template: function

Get the clock template, which accepts an object of format { date, text }

ParameterTypeDescription
dataObject

Data object

data.dateDate

The date to show

data.textString

The text to show

Returns: String

CSS variables

4
NameDescription
--b-clock-sizeClock size
--b-clock-hand-widthClock hand width
--b-clock-dial-backgroundClock dial background
--b-clock-hand-colorClock hand color