Skip to content

Commit

Permalink
updating readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Drummond committed Mar 31, 2020
1 parent fe71f7d commit 6c45292
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -10,6 +10,11 @@ Add as a directive / plugin
<div vue-event-horizon:trigger.once />
<div vue-event-horizon:trigger="(el, is_visible) => onVisibilityChange(el, is_visible)" />
<div vue-event-horizon:parallax="{x: {from: 0, to: 2, at: 1}}" />
<div vue-event-horizon:parallax="{
x: {from: 0, to: 2, at: 1},
y: {from: 0, to: 3},
callback: (el, is_visible) => onVisibilityChange(el, is_visible)}
" />
```

Trigger adds classes
Expand Down

0 comments on commit 6c45292

Please sign in to comment.