@ng-web-apis/intersection-observer
Advanced tools
Comparing version 3.1.5 to 3.1.6
{ | ||
"name": "@ng-web-apis/intersection-observer", | ||
"version": "3.1.5", | ||
"version": "3.1.6", | ||
"description": "A library for declarative use of Intersection Observer API with Angular", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -55,3 +55,6 @@ # ![ng-web-apis logo](https://raw.githubusercontent.com/taiga-family/ng-web-apis/main/libs/intersection-observer/logo.svg) Intersection Observer API for Angular | ||
```html | ||
<section waIntersectionObserver waIntersectionThreshold="0.5"> | ||
<section | ||
waIntersectionObserver | ||
waIntersectionThreshold="0.5" | ||
> | ||
<div (waIntersectionObservee)="onIntersection($event)">I'm being observed</div> | ||
@@ -67,6 +70,14 @@ <div (waIntersectionObservee)="onIntersection($event)">I'm being observed</div> | ||
<section waIntersectionRoot> | ||
<div waIntersectionObserver waIntersectionThreshold="0.5" (waIntersectionObservee)="onIntersection($event)"> | ||
<div | ||
waIntersectionObserver | ||
waIntersectionThreshold="0.5" | ||
(waIntersectionObservee)="onIntersection($event)" | ||
> | ||
I'm being observed | ||
</div> | ||
<div waIntersectionObserver waIntersectionThreshold="1,0.5,0" (waIntersectionObservee)="onIntersection($event)"> | ||
<div | ||
waIntersectionObserver | ||
waIntersectionThreshold="1,0.5,0" | ||
(waIntersectionObservee)="onIntersection($event)" | ||
> | ||
I'm being observed | ||
@@ -73,0 +84,0 @@ </div> |
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
185147
145