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

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