Version: 5.x
vm-time
Formats and displays the progression of playback as currentTime (separator) endTime
.
#
Visual#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.html
#
PropertiesProperty | Description | Type | Default |
---|---|---|---|
alwaysShowHours | Whether the time should always show the hours unit, even if the time is less than 1 hour (eg: 20:35 -> 00:20:35 ). | boolean | false |
label (required) | The aria-label property of the time. | string | undefined |
seconds | The length of time in seconds. | number | 0 |
#
CSS Custom PropertiesName | Description |
---|---|
--vm-time-color | The color of the text displaying the time. |
--vm-time-font-size | The size of the font displaying the time. |
--vm-time-font-weight | The weight of the font displaying the time. |