Files
NapCatQQ/.pnpm-store/v3/files/48/7e4bca001d5fd6133d7579a68771dcac2b54bde1b7c2c5bebb9a01cbb8114be9ed58345277cad0b124253d0a0fb7971f4a6e8ed174d022a91f098baf979e56
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

8 lines
299 B
Plaintext

import type { BasicTarget } from '../utils/domTarget';
export interface Options {
onFocus?: (e: FocusEvent) => void;
onBlur?: (e: FocusEvent) => void;
onChange?: (isFocusWithin: boolean) => void;
}
export default function useFocusWithin(target: BasicTarget, options?: Options): boolean;