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

142 lines
2.6 KiB
TypeScript

import HTMLElement from '../html-element/HTMLElement.cjs';
/**
* HTML Hyperlink utility for HTMLAnchorElement and HTMLAreaElement.
*
* @see https://html.spec.whatwg.org/multipage/links.html#hyperlink
*/
export default class HTMLHyperlinkElementUtility {
private element;
/**
* Constructor.
*
* @param element Element.
*/
constructor(element: HTMLElement);
/**
* Returns the hyperlink's URL's origin.
*
* @returns Origin.
*/
getOrigin(): string;
/**
* Returns href.
*
* @returns Href.
*/
getHref(): string;
/**
* Sets href.
*
* @param href Href.
*/
setHref(href: string): void;
/**
* Returns protocol.
*
* @returns Protocol.
*/
getProtocol(): string;
/**
* Sets protocol.
*
* @param protocol Protocol.
*/
setProtocol(protocol: string): void;
/**
* Returns username.
*
* @returns Username.
*/
getUsername(): string;
/**
* Sets username.
*
* @param username Username.
*/
setUsername(username: string): void;
/**
* Returns password.
*
* @returns Password.
*/
getPassword(): string;
/**
* Sets password.
*
* @param password Password.
*/
setPassword(password: string): void;
/**
* Returns host.
*
* @returns Host.
*/
getHost(): string;
/**
* Sets host.
*
* @param host Host.
*/
setHost(host: string): void;
/**
* Returns hostname.
*
* @returns Hostname.
*/
getHostname(): string;
/**
* Sets hostname.
*
* @param hostname Hostname.
*/
setHostname(hostname: string): void;
/**
* Returns port.
*
* @returns Port.
*/
getPort(): string;
/**
* Sets port.
*
* @param port Port.
*/
setPort(port: string): void;
/**
* Returns pathname.
*
* @returns Pathname.
*/
getPathname(): string;
/**
* Sets pathname.
*
* @param pathname Pathname.
*/
setPathname(pathname: string): void;
/**
* Returns search.
*
* @returns Search.
*/
getSearch(): string;
/**
* Sets search.
*
* @param search Search.
*/
setSearch(search: string): void;
/**
* Returns hash.
*
* @returns Hash.
*/
getHash(): string;
/**
* Sets hash.
*
* @param hash Hash.
*/
setHash(hash: string): void;
}
//# sourceMappingURL=HTMLHyperlinkElementUtility.d.ts.map