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

15 lines
613 B
Plaintext

/**
* This code comes from @react-aria/overlays
*/
/**
* Hides all elements in the DOM outside the given targets from screen readers using aria-hidden,
* and returns a function to revert these changes. In addition, changes to the DOM are watched
* and new elements outside the targets are automatically hidden.
* @param targets - The elements that should remain visible.
* @param root - Nothing will be hidden above this element.
* @returns - A function to restore all hidden elements.
*/
declare function ariaHideOutside(targets: Element[], root?: HTMLElement): () => void;
export { ariaHideOutside };