Socket
Socket
Sign inDemoInstall

@ng-web-apis/intersection-observer

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-web-apis/intersection-observer - npm Package Compare versions

Comparing version 3.1.5 to 3.1.6

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc