From 8ffb4ef7b570eff8b53ed2b843d50d866b816bdc Mon Sep 17 00:00:00 2001 From: Yuan Gao Date: Tue, 24 Apr 2018 17:24:34 -0700 Subject: [PATCH] fix(button-toggle): use native button and aria-pressed for button-toggle --- src/lib/button-toggle/button-toggle.html | 27 +++++----- src/lib/button-toggle/button-toggle.scss | 10 ++++ src/lib/button-toggle/button-toggle.spec.ts | 57 +++++++++++++-------- src/lib/button-toggle/button-toggle.ts | 42 ++++++--------- 4 files changed, 75 insertions(+), 61 deletions(-) diff --git a/src/lib/button-toggle/button-toggle.html b/src/lib/button-toggle/button-toggle.html index f487d13e4f93..f0389997704b 100644 --- a/src/lib/button-toggle/button-toggle.html +++ b/src/lib/button-toggle/button-toggle.html @@ -1,22 +1,19 @@ -