Sha256: 8761cfe95cb04be26f7b656237ac6f0944dd4f77881825ce0fd8c9e61e32f3cb
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
import Component from '@ember/component'; import { computed } from '@ember/object'; import layout from '../../templates/components/bsy-radio-buttons/button'; const BsyRadioButtonsButtonComponent = Component.extend({ layout, tagName: 'label', classNames: 'btn btn-secondary', classNameBindings: ['active'], active: computed('value', 'option', function() { return this.value === this.option; }).readOnly() }); BsyRadioButtonsButtonComponent.reopenClass({ positionalParams: ['value'] }); export default BsyRadioButtonsButtonComponent;
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-bookingsync-sass-2.0.0 | addon/components/bsy-radio-buttons/button.js |