Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kooriookami/koo-select

一个基于 uv-ui 的 uniapp select 选择器
https://github.com/kooriookami/koo-select

Last synced: 24 days ago
JSON representation

一个基于 uv-ui 的 uniapp select 选择器

Awesome Lists containing this project

README

        

## Select 选择器

> **组件名:koo-select**

拓展 uv 组件库,支持单选、多选、搜索

### Demo

```vue



import KooSelect from "@/components/koo-select/koo-select.vue";

export default {
name: "demo",
components: {
KooSelect
},
data() {
return {
value: [],
options: [
{
label: '1',
value: '1',
},
{
label: '2',
value: '2',
},
{
label: '3',
value: '3',
}
]
}
},
mounted() {
this.$refs.select.open();
},
methods: {
handleChange(value, option) {
console.log(value, option);
}
}
}

```