From f576551cc6bfd381de308d45551a69016e54d4f6 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Sat, 10 Feb 2018 15:58:41 +0100 Subject: [PATCH] fix(toolbar): using buttonType property --- packages/core/src/components/toolbar/toolbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/components/toolbar/toolbar.tsx b/packages/core/src/components/toolbar/toolbar.tsx index 34f479caeb..9a34d42d46 100644 --- a/packages/core/src/components/toolbar/toolbar.tsx +++ b/packages/core/src/components/toolbar/toolbar.tsx @@ -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'; } }