0.0.6 • Published 10 months ago

@arturogal/dropdown-search-menu v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

dropdown-search-menu

How to use this component

Install in your project

npm install @arturogal/dropdown-search-menu

Import in your main.ts or main.js file

import DropdownSearchMenu from '@arturogal/dropdown-search-menu'

Import styles in your maint.ts or main.js file

import '@arturogal/dropdown-search-menu/dist/style.css'

Add it to your app in main.ts or main.js file

import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)
app.mount('#app')
app.use(DropdownSearchMenu)

Use the web component in your app, wherever you want

<dropdown
    :options="[
        'Luis Gerardo García',
        'Juan Pérez',
        'Martín Martínez',
        'Arturo García',
        'Rodrigo Bentancur',
        'Cristian Romero',
        'Pedro Porro',
    ]"
    hint="Elige un usuario"
    label="Usuarios registrados"
    @selection-changed="(option: string) => (selectedDropdownOption = option)">
</dropdown>
0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago