Fixed #6144
parent
68ee8b9f52
commit
0506532822
|
@ -199,6 +199,10 @@ export interface FieldsetSlots {
|
||||||
* Collapsed state as a boolean
|
* Collapsed state as a boolean
|
||||||
*/
|
*/
|
||||||
collapsed: boolean;
|
collapsed: boolean;
|
||||||
|
/**
|
||||||
|
* Style class of the icon.
|
||||||
|
*/
|
||||||
|
class: string;
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom toggler icon template.
|
* Custom toggler icon template.
|
||||||
|
@ -209,6 +213,10 @@ export interface FieldsetSlots {
|
||||||
* Collapsed state as a boolean
|
* Collapsed state as a boolean
|
||||||
*/
|
*/
|
||||||
collapsed: boolean;
|
collapsed: boolean;
|
||||||
|
/**
|
||||||
|
* Style class of the icon.
|
||||||
|
*/
|
||||||
|
class: string;
|
||||||
}): VNode[];
|
}): VNode[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
v-bind="{ ...toggleButtonProps, ...ptm('toggleButton') }"
|
v-bind="{ ...toggleButtonProps, ...ptm('toggleButton') }"
|
||||||
>
|
>
|
||||||
<!--TODO: togglericon deprecated since v4.0-->
|
<!--TODO: togglericon deprecated since v4.0-->
|
||||||
<slot :name="$slots.toggleicon ? 'toggleicon' : 'togglericon'" :collapsed="d_collapsed">
|
<slot :name="$slots.toggleicon ? 'toggleicon' : 'togglericon'" :collapsed="d_collapsed" :class="cx('toggleIcon')">
|
||||||
<component :is="d_collapsed ? 'PlusIcon' : 'MinusIcon'" :class="cx('toggleIcon')" v-bind="ptm('toggleIcon')" />
|
<component :is="d_collapsed ? 'PlusIcon' : 'MinusIcon'" :class="cx('toggleIcon')" v-bind="ptm('toggleIcon')" />
|
||||||
</slot>
|
</slot>
|
||||||
<span :class="cx('legendLabel')" v-bind="ptm('legendLabel')">{{ legend }}</span>
|
<span :class="cx('legendLabel')" v-bind="ptm('legendLabel')">{{ legend }}</span>
|
||||||
|
|
Loading…
Reference in New Issue