Files
headroom/frontend/node_modules/happy-dom/cjs/nodes/html-iframe-element/HTMLIFrameElement.d.ts
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

157 lines
3.5 KiB
TypeScript

import Event from '../../event/Event.cjs';
import * as PropertySymbol from '../../PropertySymbol.cjs';
import BrowserWindow from '../../window/BrowserWindow.cjs';
import Document from '../document/Document.cjs';
import HTMLElement from '../html-element/HTMLElement.cjs';
import CrossOriginBrowserWindow from '../../window/CrossOriginBrowserWindow.cjs';
import DOMTokenList from '../../dom/DOMTokenList.cjs';
import Attr from '../attr/Attr.cjs';
/**
* HTML Iframe Element.
*
* Reference:
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.
*/
export default class HTMLIFrameElement extends HTMLElement {
#private;
cloneNode: (deep?: boolean) => HTMLIFrameElement;
[PropertySymbol.sandbox]: DOMTokenList | null;
get onload(): ((event: Event) => void) | null;
set onload(value: ((event: Event) => void) | null);
get onerror(): ((event: Event) => void) | null;
set onerror(value: ((event: Event) => void) | null);
/**
* Returns source.
*
* @returns Source.
*/
get src(): string;
/**
* Sets source.
*
* @param src Source.
*/
set src(src: string);
/**
* Returns allow.
*
* @returns Allow.
*/
get allow(): string;
/**
* Sets allow.
*
* @param allow Allow.
*/
set allow(allow: string);
/**
* Returns height.
*
* @returns Height.
*/
get height(): string;
/**
* Sets height.
*
* @param height Height.
*/
set height(height: string);
/**
* Returns width.
*
* @returns Width.
*/
get width(): string;
/**
* Sets width.
*
* @param width Width.
*/
set width(width: string);
/**
* Returns name.
*
* @returns Name.
*/
get name(): string;
/**
* Sets name.
*
* @param name Name.
*/
set name(name: string);
/**
* Returns sandbox.
*
* @returns Sandbox.
*/
get sandbox(): DOMTokenList;
/**
* Sets sandbox.
*/
set sandbox(sandbox: string);
/**
* Returns srcdoc.
*
* @returns Srcdoc.
*/
get srcdoc(): string;
/**
* Sets srcdoc.
*
* @param srcdoc Srcdoc.
*/
set srcdoc(srcdoc: string);
/**
* Returns referrer policy.
*/
get referrerPolicy(): string;
/**
* Sets referrer policy.
*
* @param referrerPolicy Referrer policy.
*/
set referrerPolicy(referrerPolicy: string);
/**
* Returns content document.
*
* @returns Content document.
*/
get contentDocument(): Document | null;
/**
* Returns content window.
*
* @returns Content window.
*/
get contentWindow(): BrowserWindow | CrossOriginBrowserWindow | null;
/**
* @override
*/
get tabIndex(): number;
/**
* @override
*/
set tabIndex(tabIndex: number);
/**
* @override
*/
[PropertySymbol.connectedToDocument](): void;
/**
* Called when disconnected from document.
* @param e
*/
[PropertySymbol.disconnectedFromDocument](): void;
/**
* @override
*/
[PropertySymbol.cloneNode](deep?: boolean): HTMLIFrameElement;
/**
* @override
*/
[PropertySymbol.onSetAttribute](attribute: Attr, replacedAttribute: Attr | null): void;
/**
* @override
*/
[PropertySymbol.onRemoveAttribute](removedAttribute: Attr): void;
}
//# sourceMappingURL=HTMLIFrameElement.d.ts.map