Optional
animationDuration of the pull animation in seconds
0.3
Optional
customCustom icon element to use instead of the default refresh icon
Optional
dragWhether the content should be dragged along with the pull action
false
Optional
enableWhether to enable fade-in animation of the refresh icon
true
Optional
enableWhether to enable rotation animation of the refresh icon
true
Optional
iconThe final position of the refresh icon when fully pulled
20
Optional
iconThe initial position of the refresh icon in pixels from the top
-50
Optional
iconSize of the refresh icon in pixels
24
Optional
maxThe maximum pull distance as a ratio of screen height
0.2
Optional
pullThe threshold in pixels that the user needs to pull down to trigger a refresh
100
Optional
showThe minimum pull distance in pixels before showing the refresh icon
20
Optional
spinDuration of the refresh spinner animation in seconds
1
Interface for the configuration options of the PullToAction component
PullToActionConfig