HomeDocs
Skip to main content

dlt.startPullDownRefresh

Introduction

Trigger the pull-down refresh and the animation of the pull-down refresh header, mimicking the user's manual pull-down refresh.

Parameters

Object object

PropertyTypeDefaultRequiredDescription
successfunctionNoCallback function for a successful call
failfunctionNoCallback function for a failed call
completefunctionNoCallback function for the call's completion (executed for both successful and failed calls)

Sample Code

dlt.startPullDownRefresh({
success(res) {
console.log('success: ', res);
},
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.