Skip to content

Commit 2db2e08

Browse files
committed
update readme, typo
1 parent 7462fae commit 2db2e08

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue-visibility-trigger
22

3-
Vue component that helps you run a function when the node comes into view.
3+
> Vue component that emits an event when scrolled into view
44
55
## Installation
66

@@ -18,12 +18,12 @@ $ npm install --save 'vue-visibility-trigger'
1818

1919
## Usage
2020

21-
Import, register and place the component in your Vue app. Attach a function to react to the 'scrollIn' event with 'v-on:scrollIn="..."' or '@scrollIn="..."'.
21+
Import, register and place the component in your Vue app. Attach a function to react to the 'scrolledIn' event with 'v-on:scrolledIn="..."' or '@scrolledIn="..."'.
2222

2323
```
2424
<template>
2525
...
26-
<vue-visibility-trigger @scrollIn="doSomething" />
26+
<vue-visibility-trigger @scrolledIn="doSomething" />
2727
...
2828
</template>
2929

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-visibility-trigger",
33
"version": "0.1.1",
4-
"description": "Vue component that helps you run a function when the node comes into view",
4+
"description": "Vue component that emits an event when scrolled into view",
55
"license": "MIT",
66
"main": "dist/vue-visibility-trigger.umd.js",
77
"module": "dist/vue-visibility-trigger.esm.js",

0 commit comments

Comments
 (0)