vue 原生 select
Vue选择 (Vue Select)
A native Vue.js component that provides similar functionality to Select2 without the overhead of jQuery.
一个原生Vue.js组件,提供了与Select2类似的功能,而没有jQuery的开销。
Rather than bringing in jQuery just to use Select2 or Chosen, this Vue.js component provides similar functionality without the extra overhead of jQuery, while providing the same awesome data-binding features you expect from Vue. Vue-select has no JavaScript dependencies other than Vue, and is designed to mimic Select2.
这个Vue.js组件提供了类似的功能,而没有jQuery的额外开销,而不是仅仅为了使用Select2或Chosen而引入了jQuery,同时提供了与Vue相同的令人敬畏的数据绑定功能。 Vue-select除了Vue之外没有JavaScript依赖项,并且旨在模仿Select2。
现场演示 (live demo)
http://sagalbot.github.io/vue-select/
http://sagalbot.github.io/vue-select/
翻译自: https://vuejsexamples.com/vue-select-a-native-vue-js-select-component/
vue 原生 select