:: BASE_DOC ::
API
PullDownRefresh Props
| name |
type |
default |
description |
required |
| enable-back-to-top |
Boolean |
true |
1.1.5 |
N |
| enable-passive |
Boolean |
false |
1.1.5 |
N |
| external-classes |
Array |
- |
['t-class', 't-class-loading','t-class-text', 't-class-indicator'] |
N |
| loading-bar-height |
String / Number |
50 |
- |
N |
| loading-props |
Object |
- |
Typescript:LoadingProps,Loading API Documents。see more ts definition |
N |
| loading-texts |
Array |
[] |
Typescript:string[] |
N |
| lower-threshold |
String / Number |
50 |
1.1.5 |
N |
| max-bar-height |
String / Number |
80 |
- |
N |
| refresh-timeout |
Number |
3000 |
- |
N |
| scroll-into-view |
String |
- |
1.1.5 |
N |
| show-scrollbar |
Boolean |
true |
- |
N |
| upper-threshold |
String / Number |
50 |
1.1.5 |
N |
| value |
Boolean |
false |
- |
N |
| default-value |
Boolean |
undefined |
uncontrolled property |
N |
PullDownRefresh Events
| name |
params |
description |
| change |
(value: boolean) |
- |
| refresh |
- |
- |
| timeout |
- |
- |
CSS Variables
The component provides the following CSS variables, which can be used to customize styles.
| Name |
Default Value |
Description |
| --td-pull-down-refresh-color |
@font-gray-3 |
- |