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

48 lines (44 loc) 1.4 kB
import { VNode } from 'vue'; import { VirtualScrollerProps } from '../virtualscroller'; interface AutoCompleteProps { modelValue?: any; suggestions?: any[]; field?: string|Function; optionGroupLabel?: string; optionGroupChildren?: string; scrollHeight?: string; dropdown?: boolean; dropdownMode?: string; autoHighlight?: boolean; multiple?: boolean; minLength?: number; delay?: number; appendTo?: string; completeOnFocus?: boolean; inputStyle?: any; inputClass?: string; forceSelection?: boolean; class?: any; style?: any; panelClass?: string; virtualScrollerOptions?: VirtualScrollerProps; } declare class AutoComplete { $props: AutoCompleteProps; $emit(eventName: 'update:modelValue', value: any): this; $emit(eventName: 'item-select', e: {originalEvent: Event, value: any}): this; $emit(eventName: 'item-unselect', e: {originalEvent: Event, value: any}): this; $emit(eventName: 'dropdown-click', e: {originalEvent: Event, query: string}): this; $emit(eventName: 'complete', e: {originalEvent: Event, query: string}): this; $emit(eventName: 'clear'): this; $slots: { item: VNode[]; optiongroup: VNode[]; header: VNode[]; footer: VNode[]; chip: VNode[]; content: VNode[]; loader: VNode[]; }; } export default AutoComplete;