I just created a component/directive for ionic that put a search bar inside of ion-nav-bar, overhiding the title, like whatsapp/viber has on android. How can I contribute it to ionic?
There is an example on CodePen: http://codepen.io/bgrossi/pen/JtvsL.
It uses a ion-nav-button on right side and presumes 1 icon on left and 0 or 1 icons on right side.
Icon is adaptable to android and ios…
There are some improvements needed but it’s working well…
Some needed improvements:
- Show/Hide title method on $ionicNavBarDelegate to not use setTitle().
- Better handle to known how many icons has on nav bar.