Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49170

Header disappear on controller reload

$
0
0

@umefarooq wrote:

Hi
i am checking internet connection in my app controller, it working fine show popup message if app is offline, when i reload the same controller header disappear, i have tried these lines of code after googling

// $state.reload();
 $state.transitionTo($state.current, {}, { reload: true, inherit: true, notify: true });
// $state.transitionTo($state.current, {}, { reload: true, inherit: false, notify: true });
// $state.go($state.current, {}, {reload: true});

is there any better way to reload controller where header stays same,

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>