Skip to content

Commit

Permalink
docs: add npm badge
Browse files Browse the repository at this point in the history
  • Loading branch information
msc24x committed Aug 28, 2023
1 parent c27f449 commit 8c2db75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## XObserver
Eliminates multiple instances of IntersectionObserver in your application and allows element level callbacks easily.

[![npm version](https://badge.fury.io/js/@msc24x%2Fxobserver.svg)](https://badge.fury.io/js/@msc24x%2Fxobserver)

## How does it work?
1. XObserver simply maintains a global repository of the IntersectionObservers your application will use. Each global instance have a unique identifier called scope. Those instances can be ensured to be available by calling the `.ping` method under that particular scope.
Expand Down

0 comments on commit 8c2db75

Please sign in to comment.