All files / addon/components/freestyle/bootstrap radio-group.js

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                        10x          
import Component from '@ember/component';
import layout from '../../../templates/components/freestyle/bootstrap/radio-group';
import { BuilderForPropDefaults } from 'ember-bootstrap-controls/utils/prop-definition-tools';
import { propDefinitions } from '../../bootstrap/radio-group';
 
export default Component.extend({
  layout,
  propDefinitions,
  data: Object.assign(BuilderForPropDefaults(propDefinitions), {
    value: 1,
    label: "How Cool Are You?"
  }),
  options: Array(10).fill().map((item, index) => 1 + index),
  mostFavorite: 1,
  leastFavorite: 2,
  customChild: 5,
});