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

vue-on-visible

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.5.0 to 0.5.1

{
"name": "vue-on-visible",
"version": "0.5.0",
"version": "0.5.1",
"private": false,

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

@@ -78,7 +78,2 @@ # Vue-On-Visible

Template:
```html
<YourComponent v-on-visible="{onUpdate, topOffset, bottomOffset, repeat}" />
```
| PropName | Type | Default | Description |

@@ -91,2 +86,7 @@ | ------------ | :------: | :------------- | :------------------------------------------------------------------ |

Template:
```html
<YourComponent v-on-visible="{onUpdate, topOffset, bottomOffset, repeat}" />
```
Component:

@@ -119,3 +119,3 @@ ```javascript

```html
<OnVisible :offsets="{top: '-10%', bottom: '-10%'}" :repeat="true">
<OnVisible topOffset="-10%" bottomOffset="-10%" :repeat="true">
<div slot-scope="onVisible">

@@ -122,0 +122,0 @@ <!-- SEE PROPERTIES SECTION BELOW FOR AVAILABLE PROPS -->

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