mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-19 01:10:36 +03:00
improve vue docs
This commit is contained in:
@@ -92,7 +92,9 @@ It has three optional properties: `element`, `options` and `events`.
|
|||||||
|
|
||||||
### Events
|
### Events
|
||||||
|
|
||||||
Additionally to the `events` property the `OverlayScrollbarsComponent` emits "native" Vue events. To prevent name collisions with DOM events the events have a `os` prefix. It doesn't matter whether you use the `events` property, the Vue events or both.
|
Additionally to the `events` property the `OverlayScrollbarsComponent` emits "native" Vue events. To prevent name collisions with DOM events the events have a `os` prefix.
|
||||||
|
|
||||||
|
> __Note__: It doesn't matter whether you use the `events` property or the Vue events or both.
|
||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
// example usage
|
// example usage
|
||||||
|
|||||||
Reference in New Issue
Block a user