Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 515 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 515 Bytes

ListSelect

ListSelect is a minimal multi-select component for Vue3.

Example setup:

<template>
  <list-select
    v-model:selected="selected"
    :options="options"
  />
</template>
<script lang="ts">
import { defineComponent } from 'vue'
import ListSelect from './components/ListSelect/index.vue'

export default defineComponent({
  components: { ListSelect },
  data () {
    return {
      selected: [],
      options: [{ id: 'myid', label: 'MyLabel' }]
    }
  }
})
</script>