el-radio-group2

1.1.0 • Public • Published

el-radio-group2

a radio group which support icon base element-ui

demo

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"

Readme

Keywords

none

Package Sidebar

Install

npm i el-radio-group2

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

62.5 kB

Total Files

10

Last publish

Collaborators

  • zhongxingdou