@morpheme/autocomplete
v1.0.1
Published
Morpheme Autocomplete
Downloads
133
Maintainers
Readme
Morpheme Autocomplete
Morpheme Autocomplete.
Installation
npm
npm i @morpheme/autocomplete
yarn
yarn add @morpheme/autocomplete
pnpm
pnpm i @morpheme/autocomplete
Usage
<script setup lang="ts">
import Autocomplete from '@morpheme/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