bettertend/frontend/node_modules/radix-vue/dist/shared/useHideOthers.d.ts

10 lines
548 B
TypeScript

import { MaybeElementRef } from '@vueuse/core';
/**
* The `useHideOthers` function is a TypeScript function that takes a target element reference and
* hides all other elements in ARIA when the target element is present, and restores the visibility of the
* hidden elements when the target element is removed.
* @param {MaybeElementRef} target - The `target` parameter is a reference to the element that you want
* to hide other elements when it is clicked or focused.
*/
export declare function useHideOthers(target: MaybeElementRef): void;