Scroll position title size

This commit is contained in:
Angelos Chalaris
2017-12-12 18:12:59 +02:00
parent 542a4f94b1
commit d1da6a6564
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ const flatten = arr => arr.reduce( (a, v) => a.concat(v), []);
// flatten([1,[2],3,4) -> [1,2,3,4]
```
## Get scroll position
### Get scroll position
Use `pageXOffset` and `pageYOffset` if they are defined, otherwise `scrollLeft` and `scrollTop`.
You can omit `el` to use a default value of `window`.

View File

@ -1,4 +1,4 @@
## Get scroll position
### Get scroll position
Use `pageXOffset` and `pageYOffset` if they are defined, otherwise `scrollLeft` and `scrollTop`.
You can omit `el` to use a default value of `window`.