123456789101112131415161718192021 |
- import { LitElement } from 'lit';
- export default class SlRelativeTime extends LitElement {
- private updateTimeout;
- private isoTime;
- private relativeTime;
- private titleTime;
- date: Date | string;
- locale: string;
- format: 'long' | 'short' | 'narrow';
- numeric: 'always' | 'auto';
- sync: boolean;
- connectedCallback(): void;
- disconnectedCallback(): void;
- updateTime(): void;
- render(): import("lit-html").TemplateResult<1>;
- }
- declare global {
- interface HTMLElementTagNameMap {
- 'sl-relative-time': SlRelativeTime;
- }
- }
|