mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
parent
edc09b8bc6
commit
a9185a87e7
3 changed files with 31 additions and 7 deletions
15
components/lib/chip/Chip.d.ts
vendored
15
components/lib/chip/Chip.d.ts
vendored
|
@ -33,7 +33,6 @@ export interface ChipProps {
|
|||
removable?: boolean;
|
||||
/**
|
||||
* Icon of the remove element.
|
||||
* @defaultValue pi pi-times-circle
|
||||
*/
|
||||
removeIcon?: string;
|
||||
}
|
||||
|
@ -46,6 +45,20 @@ export interface ChipSlots {
|
|||
* Content can easily be customized with the default slot instead of using the built-in modes.
|
||||
*/
|
||||
default(): VNode[];
|
||||
/**
|
||||
* Custom remove icon template of chip component.
|
||||
* @param {Object} scope - remove icon slot's params.
|
||||
*/
|
||||
removeicon(scope: {
|
||||
/**
|
||||
* Remove icon click event
|
||||
*/
|
||||
click(): void;
|
||||
/**
|
||||
* Remove icon keydown event
|
||||
*/
|
||||
keydown(): void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue