vue-on-visible
Advanced tools
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
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
945634