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 (42 loc) 1.25 kB
import { VNode } from 'vue'; interface CascadeSelectProps { modelValue?: any; options?: any[]; optionLabel?: string; optionValue?: any; optionGroupLabel?: string; optionGroupChildren?: string[]; placeholder?: string; disabled?: boolean; dataKey?: string; tabindex?: string; inputId?: string; ariaLabelledBy?: string; appendTo?: string; panelClass?: string; loading?: boolean; loadingIcon?: string; } interface CascadeSelectOptionSlotInterface { option: any; } interface CascadeSelectValueSlotInterface { value: any; placeholder: string; } declare class CascadeSelect { $props: CascadeSelectProps; $emit(eventName: 'update:modelValue', value: string): this; $emit(eventName: 'change', e: { originalEvent: Event, value: any }): this; $emit(eventName: 'change-group', e: { originalEvent: Event, value: any }): this; $emit(eventName: 'before-show'): this; $emit(eventName: 'before-hide'): this; $emit(eventName: 'show'): this; $emit(eventName: 'hide'): this; $slot: { option: CascadeSelectOptionSlotInterface; value: CascadeSelectValueSlotInterface; indicator: VNode[]; } } export default CascadeSelect;