mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4871 - Calendar: new iconDisplay property
This commit is contained in:
parent
8c76a94df0
commit
b28a89d174
4 changed files with 32 additions and 2 deletions
15
components/lib/calendar/Calendar.d.ts
vendored
15
components/lib/calendar/Calendar.d.ts
vendored
|
@ -479,6 +479,11 @@ export interface CalendarProps {
|
|||
* @defaultValue false
|
||||
*/
|
||||
showIcon?: boolean | undefined;
|
||||
/**
|
||||
* Icon position of the component. This only applies if the showIcon option is set to true.
|
||||
* @defaultValue 'button'
|
||||
*/
|
||||
iconDisplay?: 'button' | 'input' | undefined;
|
||||
/**
|
||||
* Icon of the calendar button.
|
||||
* @deprecated since v3.27.0. Use 'dropdownicon' slot.
|
||||
|
@ -784,6 +789,16 @@ export interface CalendarSlots {
|
|||
*/
|
||||
class: any;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom input icon template.
|
||||
* @param {Object} scope - input icon slot's params.
|
||||
*/
|
||||
inputicon(scope: {
|
||||
/**
|
||||
* Style class of the input icon
|
||||
*/
|
||||
class: any;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom previous icon template.
|
||||
* @param {Object} scope - previous icon slot's params.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue