mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
parent
05ef39c97b
commit
936f5169a0
3 changed files with 8 additions and 2 deletions
|
@ -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'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
6
components/lib/treeselect/TreeSelect.d.ts
vendored
6
components/lib/treeselect/TreeSelect.d.ts
vendored
|
@ -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…
Add table
Add a link
Reference in a new issue