parent
05ef39c97b
commit
936f5169a0
|
@ -196,7 +196,7 @@ const TreeSelectSlots = [
|
||||||
description: 'Custom content when there is no data to display'
|
description: 'Custom content when there is no data to display'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'indicator',
|
name: 'triggericon',
|
||||||
description: 'Custom content for the dropdown indicator'
|
description: 'Custom content for the dropdown indicator'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -148,8 +148,14 @@ export interface TreeSelectSlots {
|
||||||
empty(): VNode[];
|
empty(): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom indicator template.
|
* Custom indicator template.
|
||||||
|
* @deprecated since v3.27.0. Use 'checkboxicon' slot.
|
||||||
*/
|
*/
|
||||||
indicator(): VNode[];
|
indicator(): VNode[];
|
||||||
|
/**
|
||||||
|
* Custom indicator template.
|
||||||
|
* @deprecated since v3.27.0. Use 'checkboxicon' slot.
|
||||||
|
*/
|
||||||
|
triggericon(): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom item toggler icon template.
|
* Custom item toggler icon template.
|
||||||
* @param {Object} scope - item toggler icon slot's params.
|
* @param {Object} scope - item toggler icon slot's params.
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-treeselect-trigger" role="button" aria-haspopup="tree" :aria-expanded="overlayVisible">
|
<div class="p-treeselect-trigger" role="button" aria-haspopup="tree" :aria-expanded="overlayVisible">
|
||||||
<slot name="indicator">
|
<slot name="triggericon">
|
||||||
<component :is="'ChevronDownIcon'" class="p-treeselect-trigger-icon" />
|
<component :is="'ChevronDownIcon'" class="p-treeselect-trigger-icon" />
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue