el-radio-group2
v1.1.0
Published
a radio group which support icon base element-ui
Downloads
7
Readme
el-radio-group2
a radio group which support icon base element-ui
Usage
Install
import Vue from 'vue'
import elRadioGroup2 from 'el-webfont-select'
Vue.use(elRadioGroup2)
Using in Vue
<template>
<ElRadioGroup2
:options='[
{"label":"normal","value":"normal","icon":"fa fa-font"},
{"label":"italic","icon":"fa fa-italic","value":"italic"}
]'
size="mini"
value="italic"
/>
</template>
props
| Props | Type | Default | | :-----| :---- | :----: | | value | any | | | multiple | boolean | false | | options | Array<{label: string; value: any; icon: string}> | | | size | string (medium,small, mini) | "mini" |