This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/linkedom/esm/html/time-element.js
T

24 lines
600 B
JavaScript

import {stringAttribute} from '../shared/attributes.js';
import {registerHTMLClass} from '../shared/register-html-class.js';
import {HTMLElement} from './element.js';
/**
* @implements globalThis.HTMLTimeElement
*/
class HTMLTimeElement extends HTMLElement {
constructor(ownerDocument, localName = 'time') {
super(ownerDocument, localName);
}
/**
* @type {string}
*/
get dateTime() { return stringAttribute.get(this, 'datetime'); }
set dateTime(value) { stringAttribute.set(this, 'datetime', value); }
}
registerHTMLClass('time', HTMLTimeElement)
export {HTMLTimeElement};