You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
441 B
JavaScript

import {registerHTMLClass} from '../shared/register-html-class.js';
import {HTMLElement} from './element.js';
const tagName = 'h1';
/**
* @implements globalThis.HTMLHeadingElement
*/
class HTMLHeadingElement extends HTMLElement {
constructor(ownerDocument, localName = tagName) {
super(ownerDocument, localName);
}
}
registerHTMLClass([tagName, 'h2', 'h3', 'h4', 'h5', 'h6'], HTMLHeadingElement);
export {HTMLHeadingElement};