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

28 lines (23 loc) 615 B
import { VNode } from 'vue'; interface ChipsProps { modelValue?: any[]; max?: number; addOnBlur?: boolean; allowDuplicate?: boolean; separator?: string; class?: string; style?: any; } interface ChipsChipSlotInterface { value: any; } declare class Chips { $props: ChipsProps; $emit(eventName: 'update:modelValue', value: any[]): this; $emit(eventName: 'add', e: { originalEvent: Event, value: any }): this; $emit(eventName: 'remove', e: { originalEvent: Event, value: any }): this; $slots: { chip: ChipsChipSlotInterface; } } export default Chips;