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

24 lines (20 loc) 546 B
import { VNode } from 'vue'; interface ChipsProps { modelValue?: any[]; max?: number; addOnBlur?: boolean; allowDuplicate?: boolean; separator?: string; class?: string; style?: 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: VNode[]; } } export default Chips;