@gits-id/autocomplete
v1.0.0-beta.4
Published
GITS Autocomplete Component
Downloads
33
Maintainers
Readme
GITS Autocomplete Component
Autocomplete Component.
Installation
npm
npm i @gits-id/autocomplete
yarn
yarn add @gits-id/autocomplete
pnpm
pnpm i @gits-id/autocomplete
Usage
<script setup lang="ts">
import Autocomplete from '@gits-id/autocomplete';
import {ref} from 'vue';
const items = [
{value: 1, text: 'Wade Cooper'},
{value: 2, text: 'Arlene Mccoy'},
{value: 3, text: 'Devon Webb'},
{value: 4, text: 'Tom Cook'},
{value: 5, text: 'Tanya Fox'},
{value: 6, text: 'Hellen Schmidt'},
];
const selected = ref();
</script>
<template>
<Autocomplete v-model="selected" :items="items" />
</template>
Documentation
View full documentation here.
License
MIT