ngx-ui-tour-core
Advanced tools
Comparing version 8.0.1 to 8.1.0
@@ -0,1 +1,2 @@ | ||
import { ElementRef } from '@angular/core'; | ||
import { IStepOption } from './tour.service'; | ||
@@ -5,2 +6,3 @@ export interface TourAnchorDirective { | ||
hideTourStep(): void; | ||
element: ElementRef; | ||
} |
@@ -6,4 +6,3 @@ import { ElementRef, RendererFactory2 } from '@angular/core'; | ||
private renderer; | ||
private backdropBaseElement; | ||
private backdropElement; | ||
private backdropElements; | ||
private targetHtmlElement; | ||
@@ -15,11 +14,11 @@ private isScrollingEnabled; | ||
private createBackdrop; | ||
private createBackdropBaseElement; | ||
private createBackdropElement; | ||
private subscribeToWindowResizeEvent; | ||
close(): void; | ||
private removeBackdropElement; | ||
private setBackdropElStyles; | ||
private applyStyles; | ||
private createBackdropStyles; | ||
private createBackdropElement; | ||
private createBackdropElements; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TourBackdropService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<TourBackdropService>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { RendererFactory2 } from '@angular/core'; | ||
import { Router } from '@angular/router'; | ||
@@ -23,2 +24,3 @@ import type { UrlSegment } from '@angular/router'; | ||
delayAfterNavigation?: number; | ||
goToNextOnAnchorClick?: boolean; | ||
} | ||
@@ -32,2 +34,3 @@ export declare enum TourState { | ||
private readonly router; | ||
private readonly rendererFactory; | ||
stepShow$: Subject<T>; | ||
@@ -54,3 +57,5 @@ stepHide$: Subject<T>; | ||
private direction; | ||
constructor(router: Router); | ||
private unListenNextOnAnchorClickFn; | ||
private renderer; | ||
constructor(router: Router, rendererFactory: RendererFactory2); | ||
initialize(steps: T[], stepDefaults?: T): void; | ||
@@ -77,2 +82,4 @@ disableHotkeys(): void; | ||
private goToStep; | ||
private removeLastAnchorClickListener; | ||
private listenToOnAnchorClick; | ||
private navigateToRouteAndSetStep; | ||
@@ -79,0 +86,0 @@ private loadStep; |
{ | ||
"name": "ngx-ui-tour-core", | ||
"version": "8.0.1", | ||
"version": "8.1.0", | ||
"description": "UI tour library for Angular 12+", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -257,2 +257,3 @@ ![Ngx UI Tour](https://user-images.githubusercontent.com/768105/130578626-8b6cbefb-217c-4943-8661-22459a7b67a3.png) | ||
| **delayAfterNavigation** | number | 0 | Delay between navigation to a different route and showing the tour step in ms. Might be needed if you use custom scrollbar and the page is not scrolled all the way before the tour step is shown. | | ||
| **goToNextOnAnchorClick** | boolean | false | Go to next step on anchor element click instead of "Next" button. | | ||
@@ -259,0 +260,0 @@ ## Defaults |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
219300
1660
351