setBackgroundTextStyle

解释:设置窗口下拉背景loading样式。

参数:Object

Object 参数说明:

参数名类型必填默认值说明最低版本
textStyleString-loading图样式,仅支持light和dark11.3
低版本请做兼容性处理
successFunction接口调用成功的回调函数--
failFunction接口调用失败的回调函数--
completeFunction接口调用结束的回调函数(调用成功、失败都会执行)--

示例:

  1. swan.setBackgroundTextStyle({
    textStyle: 'light'
    });

位置下拉刷新