open-nomad/ui/app/components/toggle.js

14 lines
284 B
JavaScript
Raw Normal View History

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'],
'data-test-label': true,
isActive: false,
isDisabled: false,
2019-11-19 09:34:40 +00:00
onToggle() {},
});