pzvue-radio

    0.7.0 • Public • Published

    vue-radio

    install

    npm install pzvue-radio

    Quick Start

    import pzradio from 'pzvue-radio'

    in component

    components: {
        pzradio
    }

    in template

    <pzradio name="t1" value="0" checked="true">选项1</pzradio>
    <pzradio name="t1" value="1">选项2</pzradio>
    <pzradio name="t1" value="2">选项3</pzradio>
    <pzradio name="t1" value="3" :disabled="true">禁用</pzradio>

    Attribute

    参数 说明 类型 可选值 默认值
    id radio的原生id string
    name radio原生name string
    value radio的value值 string 0
    disabled 禁用 boolean true, false false
    checked 是否选中 string true,false 'false'

    Demo

    http://vue.zuoyan.space/#/component/radio

    Install

    npm i pzvue-radio

    DownloadsWeekly Downloads

    1

    Version

    0.7.0

    License

    ISC

    Last publish

    Collaborators

    • zuoyanart