1
你能告訴我如何使用startY
與Ionic refresher?我用過像下面那樣。但它不起作用?看來startY
是getter
唯一的方法沒有?我們不能設置一個值it.Which不好:(Ionic 3複習開始Y
我的使用情況:
在這個時刻,拉刷新可以從屏幕上的任何地方被觸發是有對離子的選擇手勢用於觸發時,拉下拉從屏幕最上部做只能
<ion-refresher (ionRefresh)="getData($event)" [pullMin]="180" startY="80">
<ion-refresher-content pullingIcon="arrow-dropdown" pullingText="Pull to refresh" refreshingSpinner="crescent" refreshingText="Refreshing...">
</ion-refresher-content>
</ion-refresher>
那是'getter'方法嗎?我怎樣才能根據我的用例來設置價值?我無法實現該用例嗎? – Sampath
我認爲你可以選擇刷新或不考慮開始價值。但我想不出任何可以禁用拉下功能的方法。 – NuttLoose
嗯..這是壞的。我問它作爲一個功能:https://github.com/ionic-team/ionic/issues/12387 – Sampath