Header controller for tabs


Is there a way to specify a controller for the header bar using the tabs layout? I have an icon in the header and want to perform some actions on click, but am not sure how to handle this.


Hello, you can use your the main app controller. If you does not have one, just place your toDoFunction() in the controller on your view state .