mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 14:01:20 +08:00
fix(toolbar): using buttonType property
This commit is contained in:
@ -43,7 +43,7 @@ export class Toolbar {
|
||||
componentDidLoad() {
|
||||
const buttons = this.el.querySelectorAll('ion-button');
|
||||
for (let i = 0; i < buttons.length; i++) {
|
||||
buttons[i].setAttribute('button-type', 'bar-button');
|
||||
buttons[i].buttonType = 'bar-button';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user