UNPKG

ngx-joyride

Version:

[![npm version](https://badge.fury.io/js/ngx-joyride.svg)](https://badge.fury.io/js/ngx-joyride) [![Build Status](https://travis-ci.org/tnicola/ngx-joyride.svg?branch=master)](https://travis-ci.org/tnicola/ngx-joyride) [![codecov](https://codecov.io/gh/

28 lines (27 loc) 999 B
import { JoyrideStep } from '../models/joyride-step.class'; import { Subject } from 'rxjs'; import { JoyrideOptionsService } from './joyride-options.service'; import { LoggerService } from './logger.service'; export declare enum StepActionType { NEXT = "NEXT", PREV = "PREV" } export declare class JoyrideStepsContainerService { private readonly stepOptions; private readonly logger; private steps; private tempSteps; private currentStepIndex; stepHasBeenModified: Subject<JoyrideStep>; constructor(stepOptions: JoyrideOptionsService, logger: LoggerService); private getFirstStepIndex; init(): void; addStep(stepToAdd: JoyrideStep): void; get(action: StepActionType): JoyrideStep; getStepRoute(action: StepActionType): string; updatePosition(stepName: string, position: string): void; getStepNumber(stepName: string): number; getStepsCount(): number; private getStepIndex; private getStepName; }