Skip to content

Commit 72421a0

Browse files
committed
Update README.md
1 parent a2bb199 commit 72421a0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var ScrollBar = require('vue2-scrollbar');
5656

5757
<template>
5858
<div>
59-
<vue-scrollbar custom-class="my-scrollbar" ref="Scrollbar">
59+
<vue-scrollbar classes="my-scrollbar" ref="Scrollbar">
6060
<div class="scroll-me">
6161
<div class="kolom"></div>
6262
<div class="kolom"></div>
@@ -143,10 +143,13 @@ The wheel step in pixel. The default is 53 pixel per wheel.
143143
Applied when the scrollbar in the max vertical or max horizontal scrolling. Make a possibility to add some *load more* feature or infinite scroll
144144
```javascript
145145
// Examples
146-
someMethod(direction) {
146+
handleMaxScroll(direction) {
147147
console.log(direction);
148148
}
149149
```
150+
```html
151+
<vue-scrollbar :onMaxScroll="handleMaxScroll"></vue-scrollbar>
152+
```
150153

151154

152155

0 commit comments

Comments
 (0)