ios - Ionic Framework navigating from a view on one tab to a view on another tab -


i'm building hybrid mobile application using ionic framework. i'm using tabs style app , i'm wondering if it's possible route view within 1 tab view tab ability hit button , go view on other tab.

i shouldn't need show of code here question more of logic question within ionic framework. if have example code of working within framework please share though.

thanks!

ionic uses angular states, can in www/js/app.js:

  .state('tab.chats', {       url: '/chats',       views: {         'tab-chats': {           templateurl: 'templates/tab-chats.html',           controller: 'chatsctrl'         }       }     }) 

to "chats" tab view use state: $state.go('tab.chats'); in controller function , call function in button onclick().


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -