Parameters
diff --git a/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html b/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html
index 533a5d9f..5abb46d1 100644
--- a/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html
+++ b/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html
@@ -98,17 +98,17 @@ Constructors
Properties
-
+
@@ -135,7 +135,7 @@ constructor
Parameters
@@ -163,7 +163,17 @@ Private config
+
+
+
+ Private destroyed$
+ destroyed$: Subject<void> = new Subject()
+
@@ -173,7 +183,7 @@ Private elementRef
elementRef: ElementRef
@@ -183,7 +193,7 @@ Private inViewport
@@ -193,7 +203,7 @@ inViewportAction
inViewportAction: EventEmitter<any> = new EventEmitter<any>()
@@ -203,34 +213,24 @@ Private platformId
platformId: Object
-
-
-
- Private subscription
- subscription: Subscription = new Subscription()
-
-
+
Accessors
-
+
- Private options
-
+ options
+
-
Parameters
@@ -256,7 +256,7 @@ Private check
-
Parameters
@@ -298,7 +298,7 @@ Private emitAction
-
Parameters
@@ -324,7 +324,7 @@ ngAfterViewInit
-
Returns void
@@ -341,7 +341,7 @@ ngOnDestroy
-
Returns void
@@ -392,6 +392,9 @@ Returns void
config
+ -
+ destroyed$
+
-
elementRef
@@ -404,10 +407,7 @@
Copyright (c) 2020 Piotr Stępniewski k3nsei.pl@gmail.com +
Copyright (c) 2020 Piotr Stępniewski k3nsei.pl@gmail.com (https://www.linkedin.com/in/piotrstepniewski/)
Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://opensource.org/licenses/MIT
@@ -104,7 +104,7 @@BOTH
HORIZONTAL
VERTICAL
config
force
Optional checkFn
Optional direction
Optional partial
Optional root
Optional rootMargin
Optional threshold
configHash
observer
root
targets
InViewportConfigCheckFn
isPlatformBrowser
Returns boolean
@@ -173,7 +173,7 @@toBase64
Parameters
@@ -196,7 +196,7 @@toBase64Browser
Parameters
@@ -219,7 +219,7 @@toBase64Node
Parameters
diff --git a/docs/modules/_lib_in_viewport_directive_.html b/docs/modules/_lib_in_viewport_directive_.html index c6fa5ba6..8903390c 100644 --- a/docs/modules/_lib_in_viewport_directive_.html +++ b/docs/modules/_lib_in_viewport_directive_.html @@ -93,7 +93,7 @@Const InViewportMetadat
InViewportMetadata: unique symbol = Symbol('InViewportMetadata')
diff --git a/docs/modules/_lib_in_viewport_service_.html b/docs/modules/_lib_in_viewport_service_.html
index c0a0ecb4..e8c9462d 100644
--- a/docs/modules/_lib_in_viewport_service_.html
+++ b/docs/modules/_lib_in_viewport_service_.html
@@ -100,7 +100,7 @@ InViewportRegistry: InViewportRegistryEntry[]
@@ -110,7 +110,7 @@ InViewportTrigger: Subject<IntersectionObserverEntry>
diff --git a/package.json b/package.json
index 7d782628..0786824d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ng-in-viewport",
- "version": "6.1.3",
+ "version": "6.1.4",
"description": "Allows us to check if an element is within the browsers visual viewport",
"license": "MIT",
"authors": [
@@ -30,7 +30,7 @@
"format": "prettier --write \"src/**/*.ts\"",
"format:lib": "prettier --write \"projects/ng-in-viewport/src/**/*.ts\"",
"predoc:lib": "rimraf ./docs",
- "doc:lib": "yarn run typedoc --tsconfig ./projects/ng-in-viewport/tsconfig.lib.json --out ./docs/ ./projects/ng-in-viewport/src/public_api.ts",
+ "doc:lib": "yarn run typedoc --tsconfig ./projects/ng-in-viewport/tsconfig.lib.json --out ./docs/ ./projects/ng-in-viewport/src/public_api.ts && echo \"\" > ./docs/.nojekyll",
"e2e": "ng e2e",
"build:client-and-server-bundles": "ng build ng-in-viewport --prod && ng build in-viewport --prod --aot && ng run in-viewport:server:production",
"build:prerender": "npm run build:client-and-server-bundles && npm run webpack:server && npm run generate:prerender",
diff --git a/projects/ng-in-viewport/package.json b/projects/ng-in-viewport/package.json
index c2849b7d..45e46cf0 100644
--- a/projects/ng-in-viewport/package.json
+++ b/projects/ng-in-viewport/package.json
@@ -1,6 +1,6 @@
{
"name": "ng-in-viewport",
- "version": "6.1.3",
+ "version": "6.1.4",
"description": "Allows us to check if an element is within the browsers visual viewport",
"license": "MIT",
"authors": [
InViewportRegistry
InViewportTrigger