Ion-Refresher 手动触发

示例

调用的私有方法与私有属性

import { Content, Refresher } from 'ionic-angular';

export class MyPage {
  @ViewChild(Content) content: Content;
  @ViewChild(Refresher) refresher: Refresher;
...
  ionViewDidEnter() {
    this.refresher._top = this.content.contentTop + 'px';
    this.refresher.state = 'ready';
    this.refresher._onEnd();
  }

相关链接

stackoverflow

github

你可能感兴趣的:(Ion-Refresher 手动触发)