Skip to content

Commit

Permalink
offset
Browse files Browse the repository at this point in the history
  • Loading branch information
scaccogatto committed Jan 23, 2019
1 parent 6fb96ae commit 5963713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -46,7 +46,7 @@ export default {
intersectionOptions: {
root: null,
rootMargin: '0px 0px 0px 0px',
threshold: [0, 100]
threshold: [0, 1] // [0.25, 0.75] if you want a 25% offset!
} // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
})
methods: {
Expand Down

0 comments on commit 5963713

Please sign in to comment.