Ion-view - header buttons conditionally show or hide


#1

Is there a way to conditionally show or hide a header button, set by the right-buttons or left-buttons attributes?


#2

None that I am aware of. However, with the upcoming Beta, you won’t use leftButtons and rightButtons. They will be handcoded in the HTML. Then, you can apply conditiona classes to them all you like.

http://ajoslin.github.io/docs/nightly/api/directive/ionHeaderBar/ and
http://ajoslin.github.io/docs/nightly/api/directive/ionNavButtons/


#3

Thank you for the infos! Then I’ll just have to wait!