Skip to content

breeze55/breeze-vue-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BreezeSelect

This is a vue select component.

Install

Use npm to download code:

npm install breeze-vue-select --save

import it into your project.

import BreezeSelectTemplate from 'breeze-vue-select'

Usage

import BreezeSelectTemplate from 'breeze-vue-select'
export default {
  data() {
    return {
      data: [
        {
          text: '选项1',
          value: 1
        }, {
          text: '选项2',
          value: 2
        }
      ]
    }
  },
  methods: {
    change(value) {
      console.log(value)
    }
  },
  components: {
    BreezeSelectTemplate
  }
}

Props

Prop Type Default Description
data Array drop-drown box option data
width Number 120 drop-drown box width
placeholder String 请选择 drop-drown box placeholder
placeholderSearch String 查找内容 drop-drown box placeholder
selectAllText String full selection button text
search Boolean false whether the search box is displayed
multiple Boolean false whether multi selection
callbackChange Function 空函数 change callback function

License

MIT

About

This is a vue select component.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published