Update README.md

Use innerWidth and innerHeight for 'includePadding' option.
This commit is contained in:
Hyunje Alex Jun 2014-04-02 00:58:41 +09:00
parent 4357617540
commit 70fcb3a6c4

View File

@ -110,7 +110,7 @@ The number of pixels the content height can surpass the container height without
**Default: 0**
### 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**
How to Use