Skip to content

Commit 078555e

Browse files
authored
Merge pull request #80 from hon2a/hon2a/height-width-docs
Fixed height/width docs in Readme
2 parents a333d88 + 91fb6d8 commit 078555e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,17 @@ Type: `Boolean` Default: `true`
9999

100100
By default the throttling function is actually a [debounce](https://lodash.com/docs#debounce) function so that the checking function is only triggered after a user stops scrolling. To use traditional throttling where it will only check the loadable content every `throttle` milliseconds, set `debounce` to `false`.
101101

102-
### height
103-
Type: `String|Number` Default: `100`
102+
#### height
103+
Type: `String|Number`
104104

105-
This is used to set the elements height even when it has no content.
105+
The `height` option allows you to set the element's height even when it has no content.
106106

107-
### onContentVisible
107+
#### width
108+
Type: `String|Number`
109+
110+
The `width` option allows you to set the element's width even when it has no content.
111+
112+
#### onContentVisible
108113
Type `Function`
109114

110-
A callback function to execute when the content appears on the screen.
115+
A callback function to execute when the content appears on the screen.

0 commit comments

Comments
 (0)