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

40 lines (36 loc) 1.12 kB
import { VNode } from 'vue'; interface AutoCompleteProps { modelValue?: any; suggestions?: any[]; field?: string|Function; optionGroupLabel?: string; optionGroupChildren?: string; scrollHeight?: string; dropdown?: boolean; dropdownMode?: string; multiple?: boolean; minLength?: number; delay?: number; appendTo?: string; completeOnFocus?: boolean; inputStyle?: any; inputClass?: string; forceSelection?: boolean; panelClass?: string; } declare class AutoComplete { $props: AutoCompleteProps; $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[]; }; } export default AutoComplete;