Skip to content

Commit a184e8c

Browse files
committed
update(docs): add distance prop
1 parent 66e0b4d commit a184e8c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/src/guide/api/props.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
This property is used to specify the scrollable element, it can be any valid css selector
99
If not set it defaults to the window
1010

11+
## distance
12+
13+
- **Type**: `Number`
14+
- **Default**: `100`
15+
- **Details**:
16+
The `infinite` event will be fired if the scroll distance is less than this value.
17+
1118
## top
1219

1320
- **Type**: `Boolean`
@@ -45,4 +52,4 @@
4552
- **Type**: `String`
4653
- **Default**: `Oops something went wrong!`
4754
- **Details**:
48-
override text message display on complete
55+
override text message display on complete

0 commit comments

Comments
 (0)