mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(ionicBar): fix grammar
This commit is contained in:
4
js/ext/angular/src/directive/ionicBar.js
vendored
4
js/ext/angular/src/directive/ionicBar.js
vendored
@@ -24,8 +24,8 @@ angular.module('ionic.ui.header', ['ngAnimate', 'ngSanitize'])
|
||||
* provide dynamic layout features such as auto-title centering and animation.
|
||||
* They are also used by the Views and Navigation Controller to animate a title
|
||||
* on navigation and toggle a back button.
|
||||
* *
|
||||
* The main header bar feature provide is auto title centering.
|
||||
*
|
||||
* The main header bar feature provided is auto title centering.
|
||||
* In this situation, the title text will center itself until either the
|
||||
* left or right button content is too wide for the label to center.
|
||||
* In that case, it will slide left or right until it can fit.
|
||||
|
||||
@@ -62,6 +62,6 @@ describe('Ionic Angular Slide Box', function() {
|
||||
</ion-slide-box>')(rootScope);
|
||||
|
||||
var scope = el.scope();
|
||||
expect(scope.slideBox.getPos()).toBe(2);
|
||||
expect(scope.slideBox.currentIndex()).toBe(2);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user