offset
|
<length>
|
-
|
No
|
Distance to the top of the parent component from the <refresh> component that comes to rest after a successful swipe gesture.
|
refreshing
|
boolean
|
false
|
No
|
Whether the <refresh> component is being used for refreshing.
|
type
|
string
|
auto
|
No
|
Dynamic effect when the component is refreshed. Two options are available and cannot be modified dynamically.
- auto: default effect. When the list is pulled to the top, the list does not move. When the list is pulled to the bottom, a circle is displayed.
- pulldown: When the list is pulled to the top, users can continue to pull down to trigger a refresh. The rebound effect will appear after the refresh. If the child component contains a list, set scrolleffect of the list to no to prevent drop-down effect conflicts.
|
lasttime
|
boolean
|
false
|
No
|
Whether to display the last update time. The character string format is last update time: XXXX, where XXXX is displayed based on the time and date display specifications and cannot be dynamically modified. (It is recommended that this attribute be used when type is set to pulldown. The fixed distance is at the bottom of the content drop-down area. Pay attention to the offset attribute setting to prevent overlapping.)
|
timeoffset6+
|
<length>
|
-
|
No
|
Sets the distance between the update time and the top of the parent component.
|
friction
|
number
|
42
|
No
|
Pull-down friction coefficient. The value ranges from 0 to 100. A larger value indicates a more responsive component. For example, if a user pulls the component down 100 px, it will actually move 100 * friction% px.
|