Files
headroom/frontend/node_modules/happy-dom/cjs/mutation-observer/MutationObserver.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

42 lines
1.3 KiB
TypeScript

import * as PropertySymbol from '../PropertySymbol.cjs';
import Node from '../nodes/node/Node.cjs';
import BrowserWindow from '../window/BrowserWindow.cjs';
import IMutationObserverInit from './IMutationObserverInit.cjs';
import MutationRecord from './MutationRecord.cjs';
/**
* The MutationObserver interface provides the ability to watch for changes being made to the DOM tree.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver
*/
export default class MutationObserver {
#private;
protected [PropertySymbol.window]: BrowserWindow;
/**
* Constructor.
*
* @param callback Callback.
*/
constructor(callback: (records: MutationRecord[], observer: MutationObserver) => void);
/**
* Starts observing.
*
* @param target Target.
* @param options Options.
*/
observe(target: Node, options: IMutationObserverInit): void;
/**
* Disconnects.
*/
disconnect(): void;
/**
* Returns a list of all matching DOM changes that have been detected but not yet processed by the observer's callback function, leaving the mutation queue empty.
*
* @returns Records.
*/
takeRecords(): MutationRecord[];
/**
*
*/
[PropertySymbol.destroy](): void;
}
//# sourceMappingURL=MutationObserver.d.ts.map