Skip to main content
Use this API to start the pull-down refresh animation and trigger the onPullDownRefresh event.

Parameters

PropertyTypeRequiredDescription
successFunctionNoCallback on success
failFunctionNoCallback on failure
completeFunctionNoCallback that always executes

Code Example

my.startPullDownRefresh({
  success() {
    console.log('Pull down refresh started');
  }
});

my.stopPullDownRefresh

Stop pull-down refresh