我是新來的離子,我試圖得到更新圖標,當用戶拉頁面。 默認複習圖標來了,但我有不同的圖標嘗試它不來沒有得到清醒的圖標
在此先感謝
<ion-refresher refreshing-text="Loading..." refreshing-icon="ion-loading-c" on-refresh="doRefresh()">
</ion-refresher>
我是新來的離子,我試圖得到更新圖標,當用戶拉頁面。 默認複習圖標來了,但我有不同的圖標嘗試它不來沒有得到清醒的圖標
在此先感謝
<ion-refresher refreshing-text="Loading..." refreshing-icon="ion-loading-c" on-refresh="doRefresh()">
</ion-refresher>
在<ion-refresher>
使用的字體圖標的功能似乎說明here已被棄用。相反,Ionic提供使用IonSpinner
的能力,您可以閱讀更多關於它的信息here。
那麼你的選擇是在離子的當前版本是:refreshing-icon="bubbles"
,refreshing-icon="circles"
,refreshing-icon="crescent"
,refreshing-icon="dots"
,refreshing-icon="lines"
,refreshing-icon="ripple"
,refreshing-icon="spiral"
,refreshing-icon="android"
,refreshing-icon="ios"
。
通過'ionic info'檢查您的離子框架工作的版本,並嘗試選擇正確版本的文檔並驗證您的代碼。讓我知道如果仍然存在問題。因爲對我而言,它正在使用此代碼 –
我使用** ionic 2.0.0 **我甚至試過' ion-refresher-content>'this inside''但它不工作..感謝回覆 –
Kumar