Files
eewing cf73cd3b4c INIT
2026-02-17 14:10:16 -06:00

14 lines
514 B
TypeScript

import type { MaybeElementGetter } from "../../internal/types.js";
import { type ActiveElementOptions } from "../active-element/active-element.svelte.js";
export interface IsFocusWithinOptions extends ActiveElementOptions {
}
/**
* Tracks whether the focus is within a target element.
* @see {@link https://runed.dev/docs/utilities/is-focus-within}
*/
export declare class IsFocusWithin {
#private;
constructor(node: MaybeElementGetter, options?: IsFocusWithinOptions);
readonly current: boolean;
}