JSPM

  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q90856F
  • License ISC

GITS Autocomplete Component

Package Exports

  • @gits-id/autocomplete
  • @gits-id/autocomplete/dist/autocomplete.mjs
  • @gits-id/autocomplete/dist/autocomplete.umd.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gits-id/autocomplete) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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