Files
headroom/frontend/node_modules/happy-dom/lib/nodes/html-meta-element/HTMLMetaElement.js
Santhosh Janardhanan de2d83092e feat: Reinitialize frontend with SvelteKit and TypeScript
- Delete old Vite+Svelte frontend
- Initialize new SvelteKit project with TypeScript
- Configure Tailwind CSS v4 + DaisyUI
- Implement JWT authentication with auto-refresh
- Create login page with form validation (Zod)
- Add protected route guards
- Update Docker configuration for single-stage build
- Add E2E tests with Playwright (6/11 passing)
- Fix Svelte 5 reactivity with $state() runes

Known issues:
- 5 E2E tests failing (timing/async issues)
- Token refresh implementation needs debugging
- Validation error display timing
2026-02-17 16:19:59 -05:00

74 lines
1.4 KiB
JavaScript

import HTMLElement from '../html-element/HTMLElement.js';
/**
* HTML Meta Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement.
*/
export default class HTMLMetaElement extends HTMLElement {
/**
* Returns content.
*
* @returns Content.
*/
get content() {
return this.getAttribute('content') || '';
}
/**
* Sets content.
*
* @param content Content.
*/
set content(content) {
this.setAttribute('content', content);
}
/**
* Returns httpEquiv.
*
* @returns HttpEquiv.
*/
get httpEquiv() {
return this.getAttribute('http-equiv') || '';
}
/**
* Sets httpEquiv.
*
* @param httpEquiv HttpEquiv.
*/
set httpEquiv(httpEquiv) {
this.setAttribute('http-equiv', httpEquiv);
}
/**
* Returns name.
*
* @returns Name.
*/
get name() {
return this.getAttribute('name') || '';
}
/**
* Sets name.
*
* @param name Name.
*/
set name(name) {
this.setAttribute('name', name);
}
/**
* Returns scheme.
*
* @returns Name.
*/
get scheme() {
return this.getAttribute('scheme') || '';
}
/**
* Sets scheme.
*
* @param scheme Scheme.
*/
set scheme(scheme) {
this.setAttribute('scheme', scheme);
}
}
//# sourceMappingURL=HTMLMetaElement.js.map