UNPKG

ngx-joyride

Version:

An Angular Tour (Joyride) library built entirely in Angular, without using any heavy external dependencies like Bootstrap or JQuery. From now on you can easily guide your users through your site showing them all the sections and features.

44 lines (43 loc) 1.67 kB
import { RendererFactory2 } from '@angular/core'; import { DocumentService } from './document.service'; import { Scroll } from './event-listener.service'; import { JoyrideOptionsService } from './joyride-options.service'; import { JoyrideStep } from '../models/joyride-step.class'; import * as i0 from "@angular/core"; export declare class JoyrideBackdropService { private readonly documentService; private readonly optionsService; private readonly rendererFactory; private renderer; private currentBackdropContainer; private lastBackdropContainer; private backdropContent; private backdropTop; private backdropBottom; private backdropMiddleContainer; private backdropMiddleContent; private leftBackdrop; private targetBackdrop; private rightBackdrop; private elementRef; private targetAbsoluteTop; private targetAbsoluteLeft; private lastXScroll; private lastYScroll; constructor(documentService: DocumentService, optionsService: JoyrideOptionsService, rendererFactory: RendererFactory2); private setRenderer; draw(step: JoyrideStep): void; remove(): void; redrawTarget(step: JoyrideStep): void; private getTargetTotalTop; private getTargetTotalLeft; redraw(step: JoyrideStep, scroll: Scroll): void; private handleHorizontalScroll; private handleTargetPartialWidth; private handleVerticalScroll; private handleTargetPartialHeight; private removeLastBackdrop; private drawCurrentBackdrop; static ɵfac: i0.ɵɵFactoryDeclaration<JoyrideBackdropService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<JoyrideBackdropService>; }