14 lines
284 B
JavaScript
14 lines
284 B
JavaScript
import Component from '@ember/component';
|
|
|
|
export default Component.extend({
|
|
tagName: 'label',
|
|
classNames: ['toggle'],
|
|
classNameBindings: ['isDisabled:is-disabled', 'isActive:is-active'],
|
|
|
|
'data-test-label': true,
|
|
|
|
isActive: false,
|
|
isDisabled: false,
|
|
onToggle() {},
|
|
});
|