UNPKG

@vime/core

Version:

Customizable, extensible, accessible and framework agnostic media player.

1 lines 486 B
import{r as t,h as i}from"./p-aa8acb66.js";import{f as s}from"./p-d1e67aeb.js";import{c as e}from"./p-b018976f.js";const r=class{constructor(i){t(this,i),this.seconds=0,this.alwaysShowHours=!1,e(this)}render(){return i("div",{class:"time","aria-label":this.label},s(Math.max(0,this.seconds),this.alwaysShowHours))}};r.style=".time{display:flex;align-items:center;color:var(--vm-time-color);font-size:var(--vm-time-font-size);font-weight:var(--vm-time-font-weight)}";export{r as vm_time}