vuejs-radio-checkbox

1.0.3 • Public • Published

vuejs-radio-checkbox

Checkbox set with radio button behavior

Installation

npm i -D vuejs-radio-checkbox

Example

<radio-checkbox class="radio-checkbox" :inputs="inputs" v-model="value"/>
import RadioCheckbox from 'vuejs-radio-checkbox'
components: {
  RadioCheckbox
}

data () {
  return {
    value: '',
    inputs: [
      {value: '1', label: 'Val 1', title: 'Value 1'},
      {value: '2', label: 'Val 2', title: 'Value 2'},
      {value: '3', label: 'Val 3', title: 'Value 3'},
      {value: '4', label: `Val 4'`, title: 'Value 4'},
      {value: '5', label: `Val 5'`, title: 'Value 5'},
      {value: '6', label: `Val 6'`, title: 'Value 6'}
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i vuejs-radio-checkbox

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

2.26 kB

Total Files

4

Last publish

Collaborators

  • orlv