2017-10-04 39 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 –

相關問題