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 に答える