motion-v
Version:
<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for Vue</h1>
9 lines (8 loc) • 424 B
TypeScript
import { Options } from '../types/state';
import { MaybeComputedElementRef, MaybeRef } from '@vueuse/core';
type InViewOptions = Options['inViewOptions'];
export interface UseInViewOptions extends Omit<InViewOptions, 'root'> {
root?: MaybeRef<Element | Document>;
}
export declare function useInView(domRef: MaybeComputedElementRef, options?: MaybeRef<UseInViewOptions>): import('vue').Ref<boolean, boolean>;
export {};