my.stopPullDownRefresh

Stop the pull-to-refresh for the current page.

Sample Code:

copy
Page({
  onPullDownRefresh(){
    my.stopPullDownRefresh()
  }
})

Parameters

PropertyType

Required

Description
successFunctionNoThe callback function for a successful API call.
failFunctionNoThe callback function for a failed API call.
completeFunctionNoThe callback function used when the API call is completed. This function is always executed no matter the call succeeds or fails.