0

我正在开发 angularjs2/ionic2 移动应用程序,我需要集成刷新器以从本教程中进行刷新。刷新器工作正常,但我无法显示图标?这是我的代码:

<ion-refresher (starting)="doStarting()"
             (refresh)="doRefresh($event, refresher)"
             (pulling)="doPulling($event, amt)" 
              pullingIcon="ion-loading-c"
              pullingText="pull to refresh" 
              refreshingIcon="add" 
              refreshingText="loading" >
</ion-refresher>

这就是我得到的:

在此处输入图像描述

谁能帮我 ?

4

1 回答 1

0

如果您希望它们出现,您必须设置这些属性:

"refreshingIcon" => the icon you want to display when performing a refresh
"refreshingText" => the text you want to display when performing a refresh

cf 文档http://ionicframework.com/docs/v2/api/components/scroll/Refresher/

于 2016-01-15T08:25:06.377 回答