UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

50 lines (46 loc) 1.36 kB
import { VNode } from 'vue'; interface DropdownProps { modelValue?: any; options?: any[]; optionLabel?: string; optionValue?: any; optionDisabled?: boolean; optionGroupLabel?: string; optionGroupChildren?: string; scrollHeight?: string; filter?: boolean; filterPlaceholder?: string; filterLocale?: string; filterMatchMode?: string; filterFields?: string[]; editable?: boolean; placeholder?: string; disabled?: boolean; dataKey?: string; showClear?: boolean; tabindex?: string; inputId?: string; ariaLabelledBy?: string; appendTo?: string; emptyFilterMessage?: string; emptyMessage?: string; panelClass?: string; loading?: boolean; loadingIcon?: string; } declare class Dropdown { $props: DropdownProps; $emit(eventName: 'input', value: string): this; $emit(eventName: 'change', e: { originalEvent: Event, value: string }): this; $emit(eventName: 'before-show'): this; $emit(eventName: 'before-leave'): this; $emit(eventName: 'show'): this; $emit(eventName: 'hide'): this; $emit(eventName: 'focus', e: Event): this; $emit(eventName: 'blur', e: Event): this; $emit(eventName: 'filter', e: { originalEvent: Event, value: string }): this; $slot: { option: VNode[]; } } export default Dropdown;