UNPKG

rfx-parallax

Version:
18 lines (17 loc) 810 B
import { ResizeEventService } from './resize-event.service'; import { ScrollEventService } from './scroll-event.service'; import * as i0 from "@angular/core"; export declare class RfxParallaxService { private resizeEventService; private scrollEventService; private platformId; private isBrowser; constructor(resizeEventService: ResizeEventService, scrollEventService: ScrollEventService, platformId: Object); /** * Start element scroll event, window resize event and element resize event listeners * @param element main element with scroll property */ initListeners(element?: HTMLElement | Document): void; static ɵfac: i0.ɵɵFactoryDeclaration<RfxParallaxService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<RfxParallaxService>; }