Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-on-visible

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-on-visible - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "vue-on-visible",
"version": "0.2.3",
"version": "0.2.4",
"private": false,

@@ -5,0 +5,0 @@ "scripts": {

# Vue-On-Visible
### Under Active Development
Not stable. API will change.
A collection of Vue components aimed to help you create better interactions with as elements enter and exit the viewport.

@@ -8,2 +12,3 @@

This uses the [`Interaction Observer API`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) and includes a [`polyfill`](https://github.com/w3c/IntersectionObserver/blob/master/polyfill/README.md) enabling support in the following browsers:
<table>

@@ -42,3 +47,2 @@ <tr>

---

@@ -59,3 +63,5 @@

# Importing
### Option #1 - A Vue Plugin
Provides global access to all components

@@ -68,10 +74,10 @@

Vue.use(OnVisible)
```
# Usage
Pass your component or markup as a `<slot>`:
```javascript
<OnVisible >
<OnVisible>
<div>My Awesome Component</div>

@@ -78,0 +84,0 @@ </OnVisible>

Sorry, the diff of this file is too big to display

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