New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ydy-ui

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ydy-ui

一道云的前端UI框架及公用方法

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

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进行中

Keywords

ydy

FAQs

Package last updated on 11 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts