Files
headroom/frontend/node_modules/happy-dom/cjs/nodes/html-media-element/VTTCue.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

35 lines
936 B
TypeScript

import DocumentFragment from '../document-fragment/DocumentFragment.cjs';
import TextTrackCue from './TextTrackCue.cjs';
import VTTRegion from './VTTRegion.cjs';
/**
* VTTCue.
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/VTTCue
*/
export default class VTTCue extends TextTrackCue {
region: VTTRegion | null;
vertical: string;
snapToLines: boolean;
line: number;
lineAlign: string;
position: string;
positionAlign: string;
size: number;
align: string;
text: string;
/**
* Constructor.
*
* @param startTime The start time for the cue.
* @param endTime The end time for the cue.
* @param text The text of the cue.
*/
constructor(startTime: number, endTime: number, text: string);
/**
* Returns the cue as HTML.
*
* @returns DocumentFragment
*/
getCueAsHTML(): DocumentFragment;
}
//# sourceMappingURL=VTTCue.d.ts.map