Skip to content

xiispace/el-input-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

El Input Tag

a input tag editor component of Element UI

Logo

中文 README

Props

Attribute Description Type Accepted Values Default
size size of input string mini / small / medium
readonly whether input is readonly boolean false
type component type string success/info/warning/danger
hit whether Tag has a highlighted border boolean false
color background color of the Tag string
effect component theme string dark/light/plain light

Usage

npm/cnpm i el-input-tag --save

  • global
import ElInputTag from 'el-input-tag'
Vue.use(ElInputTag)
  • component
import {ElInputTag} from 'el-input-tag'

export default {
    components: {ElInputTag}
}

Sample

<div>
    <el-form :model="form" ref="form">
      <el-form-item>
        <el-input-tag v-model="form.tags"></el-input-tag>
      </el-form-item>
    </el-form>
</div>

Attention

Add el Tag Component before use

About

a input tag editor component of Element UI

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •