Skip to content
Snippets Groups Projects
Commit a80088ff authored by Daniel Kurowski's avatar Daniel Kurowski
Browse files

Improved readme

parent 9dfb12f6
Branches
Tags
1 merge request!7Improve structure
......@@ -17,8 +17,12 @@ yarn add @grifart/smoothscroll
```javascript
import SmoothScroll from '@grifart/smoothscroll';
// use defaults
SmoothScroll();
// customize
SmoothScroll({
scrollOnLoad: true,
scrollOnLoad: false,
scrollOnLinkClick: true,
});
```
......@@ -36,6 +40,7 @@ SmoothScroll({
## Development
```bash
yarn install
yarn dev
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment