docs(navbar): getting rid of alternate use section since it's now an anti-pattern

This commit is contained in:
Perry Govier
2015-01-02 16:35:59 -06:00
parent b837fb24e2
commit 2f4ebb85cf

View File

@@ -43,30 +43,6 @@
* to the top when tapped. Set no-tap-scroll to true to disable this behavior.
*
* </table><br/>
*
* ### Alternative Usage
*
* Alternatively, you may put ion-nav-bar inside of each individual view's ion-view element.
* This will allow you to have the whole navbar, not just its contents, transition every view change.
*
* This is similar to using a header bar inside your ion-view, except it will have all the power of a navbar.
*
* If you do this, simply put nav buttons inside the navbar itself; do not use `<ion-nav-buttons>`.
*
*
* ```html
* <ion-view view-title="myTitle">
* <ion-nav-bar class="bar-positive">
* <ion-nav-back-button>
* </ion-nav-back-button>
* <div class="buttons primary-buttons">
* <button class="button">
Button
* </button>
* </div>
* </ion-nav-bar>
* </ion-view>
* ```
*/
IonicModule
.directive('ionNavBar', function() {