@adoratorio/apollo
Version:
A JS library for custom cursor
24 lines • 554 B
TypeScript
export declare const VISIBILITY_CHECK: {
NONE: string;
PARTIAL: string;
FULL: string;
};
export interface TargetDescriptor {
id: string;
elements: Array<ApolloHTMLElement>;
offset: Vec2;
callback: Function;
checkVisibility: string;
}
export interface ApolloHTMLElement extends HTMLElement {
_apolloId: string;
}
export interface Vec2 {
x: number;
y: number;
}
export interface TargetsDetectionOptions {
targets: Array<TargetDescriptor>;
emitGlobal: boolean;
}
//# sourceMappingURL=declarations.d.ts.map