1.1.1 • Published 6 years ago

ydy-ui v1.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

ydy-ui

logo

江苏一道云科技发展有限公司的前端UI框架及公用方法

线上DEMO

正在开发中...

安装

    npm install ydy-ui

使用

在main.js中引入

    import ydyUi from 'ydy-ui'
    import Vue from 'vue'
    Vue.use(ydyUi)

或在组件中按需引入

    import {Button,Input} from 'ydy-ui'
    components:{Button,Input}

在组件内使用

    <template>
        <div>
            <Button :loading='btnLoading' :loadingMsg='loadingMsg' @on-click='handleBtnClick'>按钮</Button>
        </div>
    </template>
    <script>
        export default {
            data(){
                return {
                    btnLoading:false,
                    loadingMsg:'正在加载中...'
                }
            },
            methods:{
                handleBtnClick(){
                    this.btnLoading = true
                }
            }
        }
    </script>

配置

属性默认值说明
loadingfalse
loadingMsg进行中
1.1.1

6 years ago

1.1.0

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago