2017-10-04 41 views
1

我正在开发一个使用IONIC 2的Web应用程序。家庭组件包含一个带有全宽和高度的iframe。刷新工作正常,当我拉下外IFRAME,但当我拉下IFRAME刷新应用程序,然后刷新它不起作用,Ionic 2复习无法在IFRAME上工作

所以我想,当任何用户拉过IFRAME的刷新也应该工作。

任何形式的帮助,将不胜感激

在此先感谢 干杯:)

回答

0
 I did not use ion-refresher with IFRAME but i'm using this ion-refresher 
     in a page 
     like this at top of page --- 
     ===== this is a html part ==== 
     <ion-refresher (ionRefresh)="refreshFollowFeed($event)"> 
      <ion-refresher-content></ion-refresher-content> 
      </ion-refresher> 

    ========= ts part =========== 

    refreshFollowFeed(event) { 
     console.log('here your api part'); 
     === and add setTimeout section where api hit successfully. 
     setTimeout(() => { 
      event.complete(); 
     }, 2000); 
    } 
+0

它的正常工作中的应用,但还没有结束的iframe –

相关问题