Fixed #4871 - Calendar: new iconDisplay property

This commit is contained in:
tugcekucukoglu 2023-11-23 12:29:16 +03:00
parent 8c76a94df0
commit b28a89d174
4 changed files with 32 additions and 2 deletions

View file

@ -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.