Skip to content

ayi0z/default-empty-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

default-empty-class

说明

为表单元素空值状态设置默认classname

安装

    npm i 'default-empty-class'

使用

    import emptyClass from 'default-empty-class'
    Vue.use(emptyClass)
    <input v-empty-class="'default-empty-class'">

    <style>
        .default-empty-class{
            border: solid 1px #ff0000;
        }
    </style>

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

About

为表单元素空值状态设置classname

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published