angularjs

Refresh iframe on already selected tab on click  #angularjs #reactjs

  • Stack Overflow works best with JavaScript enabled
  • id try dropping the iframe into a directive and remove it on refresh then add it back.
  • Join the Stack Overflow Community
  • I have an Ionic 1.x app with the tabs template, on each view of each tab I have an iframe.
  • Stack Overflow is a community of 6.7 million programmers, just like you, helping each other.

I have an Ionic 1.x app with the tabs template, on each view of each tab I have an iframe. The thing is that when on the iframe user navigates if he clicks on the current tab again I want to refresh my iframe with the initial url, is this possible?

@ng_real_ninja: Refresh iframe on already selected tab on click #angularjs #reactjs

I have an Ionic 1.x app with the tabs template, on each view of each tab I have an iframe. The thing is that when on the iframe user navigates if he clicks on the current tab again I want to refresh my iframe with the initial url, is this possible?

I already have this on my tabs.html view:

on my tab-home.html:

and on my controller (nothing of this works on current tab is clicked):

Thanks you!

angularjs