cb-tour-guide
Version:
Guided tour for your Angular6+ applications.
36 lines (35 loc) • 1.27 kB
TypeScript
import { ErrorHandler } from '@angular/core';
import { Observable } from 'rxjs';
import { GuidedTour, TourStep } from './guided-tour.constants';
import { WindowRefService } from "./windowref.service";
export declare class GuidedTourService {
errorHandler: ErrorHandler;
private windowRef;
private dom;
guidedTourCurrentStepStream: Observable<TourStep>;
guidedTourOrbShowingStream: Observable<boolean>;
private _guidedTourCurrentStepSubject;
private _guidedTourOrbShowingSubject;
private _currentTourStepIndex;
private _currentTour;
private _onFirstStep;
private _onLastStep;
private _onResizeMessage;
constructor(errorHandler: ErrorHandler, windowRef: WindowRefService, dom: any);
nextStep(): void;
backStep(): void;
skipTour(): void;
resetTour(): void;
startTour(tour: GuidedTour): void;
activateOrb(): void;
private _setFirstAndLast;
private _checkSelectorValidity;
readonly onLastStep: boolean;
readonly onFirstStep: boolean;
readonly onResizeMessage: boolean;
readonly currentTourStepDisplay: number;
readonly currentTourStepCount: number;
readonly preventBackdropFromAdvancing: boolean;
private getPreparedTourStep;
private setTourOrientation;
}