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