Version: 4.x
vime-time
Formats and displays a length of time provided in seconds.
Visual#

Usage#
- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.html
Properties#
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
alwaysShowHours | always-show-hours | 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) | label | The aria-label property of the time. | string | undefined |
seconds | seconds | The length of time in seconds. | number | 0 |
CSS Custom Properties#
| Name | 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. |
Dependencies#
Used by#
Graph#
Built with StencilJS