mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refact(ionBar): interpolate title instead of binding
BREAKING CHANGE:
ionHeaderBar's title attribute is now interpolated.
Change this code: `<ion-header-bar title="myTitleVar"></ion-header-bar>`
To this code: `<ion-header-bar title="{{myTitleVar}}"></ion-header-bar>`
This commit is contained in:
1
js/ext/angular/src/directive/ionicBar.js
vendored
1
js/ext/angular/src/directive/ionicBar.js
vendored
@@ -76,7 +76,6 @@ angular.module('ionic.ui.header', ['ngAnimate', 'ngSanitize'])
|
||||
type: '@',
|
||||
alignTitle: '@'
|
||||
},
|
||||
|
||||
link: function($scope, $element, $attr) {
|
||||
var hb = new ionic.views.HeaderBar({
|
||||
el: $element[0],
|
||||
|
||||
Reference in New Issue
Block a user