Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Ionic Framework (BackButton)

Hi - you can read about modals here: http://angular-ui.github.io/bootstrap/

taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

Ionic Framework (BackButton)

Hi,

How can i hide/show "Back Button" in pages? (I want to show it in sub pages only)

Thanks,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Ionic Framework (BackButton)

Hello,

You can add that button to the header: https://devcenter.appery.io/documenta...

and set it visible/unvisible with ng-show attribute.

taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

Ionic Framework (BackButton)

Hello Sergiy,

In index page, i added the back-button to header. Than i added "back-button" and "ng-show" attributes to it.

For "ng-show", how can i determine on which page "Back" button will be shown or hidden.

Thanks,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Ionic Framework (BackButton)

Please use the same as descripbed here: https://blog.appery.io/2015/09/how-to... but use attribute ng-show instead of Text. (Create a scope variable with parameter "show" and change it on different pages)

taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

Ionic Framework (BackButton)

Thanks Sergiy,

It is working now, it needs practice to switch from JQM to Ionic.

Ricardo Amaral
Posts: 0
Joined: Thu Mar 17, 2016 7:33 pm

Ionic Framework (BackButton)

another aproach for same solution: https://getsatisfaction.com/apperyio/...

Return to “Issues”