From ff73d83138aeba893a58f32ad88dc20f6dea56d7 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 25 Nov 2015 14:23:54 -0500 Subject: [PATCH] fix(toolbar): added a temp fix for buttons in a toolbar with a segment added a segment scenario to the toolbar tests. closes #506 --- .../toolbar/test/scenarios/index.ts | 8 ++++- .../toolbar/test/scenarios/main.html | 31 ++++++++++++++++++- ionic/components/toolbar/toolbar.scss | 6 ++++ 3 files changed, 43 insertions(+), 2 deletions(-) diff --git a/ionic/components/toolbar/test/scenarios/index.ts b/ionic/components/toolbar/test/scenarios/index.ts index 43aed36502..590a6f9d35 100644 --- a/ionic/components/toolbar/test/scenarios/index.ts +++ b/ionic/components/toolbar/test/scenarios/index.ts @@ -4,4 +4,10 @@ import {App} from 'ionic/ionic'; @App({ templateUrl: 'main.html' }) -class E2EApp {} +class E2EApp { + + + buttonClick(button) { + console.log(button); + } +} diff --git a/ionic/components/toolbar/test/scenarios/main.html b/ionic/components/toolbar/test/scenarios/main.html index 1500da91e4..2a1a98c698 100644 --- a/ionic/components/toolbar/test/scenarios/main.html +++ b/ionic/components/toolbar/test/scenarios/main.html @@ -180,7 +180,7 @@ - @@ -190,6 +190,35 @@ + + + + + + + Something + + + Else + + + + + + + + Light + + + Toolbar + + + Default Segment + + +