1.0.0 • Published 5 years ago

breeze-vue-select v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

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

PropTypeDefaultDescription
dataArraydrop-drown box option data
widthNumber120drop-drown box width
placeholderString请选择drop-drown box placeholder
placeholderSearchString查找内容drop-drown box placeholder
selectAllTextStringfull selection button text
searchBooleanfalsewhether the search box is displayed
multipleBooleanfalsewhether multi selection
callbackChangeFunction空函数change callback function

License

MIT

1.0.0

5 years ago

0.0.9

5 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago