wotsui-vue-directives
Version:
Vue Directives for WotsUI
14 lines (13 loc) • 466 B
TypeScript
export interface IntersectionSettings {
treshold: number;
invisibleAtStart: boolean;
beforeIntersectionClass: string;
afterIntersectionClass: string;
}
export declare const intersectionSettings: {
treshold: number;
invisibleAtStart: boolean;
beforeIntersectionClass: string;
afterIntersectionClass: string;
};
export declare function setIntersectionClasses(el: HTMLElement, settings: any, isIntersecting: boolean): void;