primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [ • 932 B
TypeScript
import { VNode } from 'vue';
interface ListboxProps {
modelValue?: any;
options?: any[];
optionLabel?: string;
optionValue?: any;
optionDisabled?: boolean;
optionGroupLabel?: string;
optionGroupChildren?: string;
listStyle?: string;
disabled?: boolean;
dataKey?: string;
multiple?: boolean;
metaKeySelection?: boolean;
filter?: boolean;
filterPlaceholder?: string;
filterLocale?: string;
filterMatchMode?: string;
filterFields?: string[];
ariaLabelledBy?: string;
emptyFilterMessage?: string;
emptyMessage?: string;
}
declare class Listbox {
$props: ListboxProps;
$emit(eventName: 'input', value: any): this;
$emit(eventName: 'change', e: { originalEvent: Event, value: any }): this;
$emit(eventName: 'filter', e: { originalEvent: Event, value: string }): this;
$slots: {
option: VNode[];
}
}
export default Listbox;