0.0.10 • Published 9 months ago

select-vue3 v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

select-vue3

MIT License

A simple select component for vuejs 3.

Features:

  • Search
  • Custom Color

Demo

select-vue3 Demo

Installation

Install select-vue3 with npm

npm install select-vue3

Usage/Examples

<script setup>
import { AppSelect } from "select-vue3";

const options = [
  {
    id: 0,
    label: "Aaren",
  },
  {
    id: 1,
    label: "Abagael",
  },
  {
    id: 2,
    label: "Abbe",
  },
  {
    id: 3,
    label: "Abbi",
  },
  {
    id: 4,
    label: "Abbie",
  },
  {
    id: 5,
    label: "Abigale",
  },
];

const theme = {
  color: "4c7dfc", //code color without '#'
}; // Custom color theme

function handleOptionsSelected(d) {
  console.log(d); // output: option selected from AppSelect
}
</script>

<template>
  <AppSelect
    :options-list="options"
    :theme="theme"
    @get-option-selected="handleOptionsSelected"
  />
</template>

Authors

Contributors

TODOS

  • Custom design
0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago