2019-11-19 09:34:40 +00:00
|
|
|
import Component from '@ember/component';
|
|
|
|
|
|
|
|
export default Component.extend({
|
|
|
|
tagName: 'label',
|
|
|
|
classNames: ['toggle'],
|
|
|
|
classNameBindings: ['isDisabled:is-disabled', 'isActive:is-active'],
|
|
|
|
|
2019-12-03 03:22:41 +00:00
|
|
|
'data-test-label': true,
|
|
|
|
|
|
|
|
isActive: false,
|
|
|
|
isDisabled: false,
|
2019-11-19 09:34:40 +00:00
|
|
|
onToggle() {},
|
|
|
|
});
|