Buckets:
Quantumbraid/trainingdata / ui /node_modules /@headlessui /react /dist /hooks /use-on-disappear.d.ts
| import { type MutableRefObject } from 'react'; | |
| /** | |
| * A hook to ensure that a callback is called when the element has disappeared | |
| * from the screen. | |
| * | |
| * This can happen if you use Tailwind classes like: `hidden md:block`, once the | |
| * viewport is smaller than `md` the element will disappear. | |
| */ | |
| export declare function useOnDisappear(enabled: boolean, ref: MutableRefObject<HTMLElement | null> | HTMLElement | null, cb: () => void): void; | |
Xet Storage Details
- Size:
- 443 Bytes
- Xet hash:
- 8904698edd38a9ce82e101aefbeb22cf5f2931469e1b5e83d599de307335d414
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.