mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-17 18:40:35 +03:00
v1.10.0
This commit is contained in:
@@ -147,9 +147,9 @@ Initialize the plugin after your document has been fully loaded.
|
||||
Default initialization:
|
||||
```js
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
//The first argument are the elements to which the plugin shall be initialized
|
||||
//The second argument has to be at least a empty object or a object with your desired options
|
||||
OverlayScrollbars(document.querySelectorAll('body'), { });
|
||||
//The first argument are the elements to which the plugin shall be initialized
|
||||
//The second argument has to be at least a empty object or a object with your desired options
|
||||
OverlayScrollbars(document.querySelectorAll('body'), { });
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user