This commit is contained in:
eewing
2026-02-17 14:10:16 -06:00
parent 2bca5834c5
commit cf73cd3b4c
11246 changed files with 1690552 additions and 0 deletions
@@ -0,0 +1,18 @@
import { type ConfigurableDocumentOrShadowRoot, type ConfigurableWindow } from "../../internal/configurable-globals.js";
export interface ActiveElementOptions extends ConfigurableDocumentOrShadowRoot, ConfigurableWindow {
}
export declare class ActiveElement {
#private;
constructor(options?: ActiveElementOptions);
get current(): Element | null;
}
/**
* An object holding a reactive value that is equal to `document.activeElement`.
* It automatically listens for changes, keeping the reference up to date.
*
* If you wish to use a custom document or shadowRoot, you should use
* [useActiveElement](https://runed.dev/docs/utilities/active-element) instead.
*
* @see {@link https://runed.dev/docs/utilities/active-element}
*/
export declare const activeElement: ActiveElement;