Skip to content

Commit 26cff58

Browse files
committed
Fix ion-nav-back-button document
The html code in "custom click action" example should call "goBack" method, not "doSomethingCool".
1 parent 222a0d8 commit 26cff58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/angular/directive/navBackButton.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* ```html
3030
* <ion-nav-bar ng-controller="MyCtrl">
3131
* <ion-nav-back-button class="button-clear"
32-
* ng-click="doSomethingCool()">
32+
* ng-click="goBack()">
3333
* <i class="ion-arrow-left-c"></i> Back
3434
* </ion-nav-back-button>
3535
* </ion-nav-bar>

0 commit comments

Comments
 (0)