Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(button-toggle): add initial button-toggle (#517)
* md-toggle initial prototype * Use directives, no sass nesting, and private event emitter * Move toggle and radio dispatcher into shared unique selection dispatcher * Rename toggles to button-toggles * Update toggle to look more like radio after updates * Update child name from parent name * TSLint fixes * Misc style fixes for PR. * Update comment * Remove unused `_buttonToggles` * Use string literals for button toggle type * Move instantiation into the constructor * Add `isSingleSelection` getter * Move click event binding to component * Add missing tests to button toggles * Exclusive toggle should deselect all when group value is cleared * Button toggles should be checked when the checkbox is interacted with * Remove onClick() * Remove click event * Remove unnecessary getters and setters. * Add icons to demo app * Add missing semicolon * Change eventemitter to private in button toggle class * Get native elements in tests from debug elements * Move internal to end of comment and use BooleanFieldValue * Fix typo in test description. * vertical align middle all children in button toggle
- Loading branch information