ngx-ui-tour-core
Advanced tools
Comparing version 10.2.0 to 10.3.0
@@ -5,2 +5,3 @@ import * as i0 from "@angular/core"; | ||
smoothScroll: boolean; | ||
scrollContainer?: string | HTMLElement; | ||
} | ||
@@ -10,6 +11,8 @@ export declare class ScrollingService { | ||
private readonly window; | ||
private readonly waitForScrollFinish$; | ||
private scrollOptions; | ||
ensureVisible(htmlElement: HTMLElement, options: ScrollOptions): Promise<void>; | ||
private get waitForScrollFinish$(); | ||
private getScrollContainer; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollingService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<ScrollingService>; | ||
} |
@@ -18,2 +18,8 @@ import type { UrlSegment } from '@angular/router'; | ||
smoothScroll?: boolean; | ||
/** | ||
* CSS selector or html element reference. Only set this config if you have enabled "smoothScroll" and tour step | ||
* description pops-up before scrolling has finished or doesn't show up at all. This should only be the case when | ||
* scroll container is part of shadow DOM. | ||
*/ | ||
scrollContainer?: string | HTMLElement; | ||
prevBtnTitle?: string; | ||
@@ -20,0 +26,0 @@ nextBtnTitle?: string; |
{ | ||
"name": "ngx-ui-tour-core", | ||
"version": "10.2.0", | ||
"version": "10.3.0", | ||
"description": "UI tour library for Angular 12+", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,1 +1,10 @@ | ||
<a name="10.3.0"></a> | ||
# [10.3.0](https://github.com/hakimio/ngx-ui-tour) (2023-02-08) | ||
### Features | ||
- New `scrollContainer` config. Can be set to CSS selector or html element reference. Only set this config if you have | ||
enabled `smoothScroll` and tour step description pops-up before scrolling has finished or doesn't show up at all. | ||
This should only be the case when scroll container is part of shadow DOM. | ||
<a name="10.2.0"></a> | ||
@@ -2,0 +11,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346304
2630