Update README.md
Use innerWidth and innerHeight for 'includePadding' option.
This commit is contained in:
parent
4357617540
commit
70fcb3a6c4
@ -110,7 +110,7 @@ The number of pixels the content height can surpass the container height without
|
|||||||
**Default: 0**
|
**Default: 0**
|
||||||
|
|
||||||
### includePadding
|
### includePadding
|
||||||
When set to true, it uses `outerWidth` and `outerHeight` for the container size instead of `width` and `height`. When your container element has non-zero padding and the scrollbar layout looks weird, this option can be helpful.
|
When set to true, it uses `innerWidth` and `innerHeight` for the container size instead of `width` and `height`. When your container element has non-zero padding and the scrollbar layout looks weird, this option can be helpful.
|
||||||
**Default: false**
|
**Default: false**
|
||||||
|
|
||||||
How to Use
|
How to Use
|
||||||
|
Loading…
Reference in New Issue
Block a user