diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index fa386dc03..ba61bde26 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -865,6 +865,7 @@ export interface ColumnSlots { loadingOptions: ColumnLoadingOptions; }): VNode[]; /** + * @deprecated since v4.0. Use 'rowtoggleicon' slot instead. * Custom row toggler icon template. * @param {Object} scope - row toggler icon slot's params. */ @@ -878,6 +879,20 @@ export interface ColumnSlots { */ rowExpanded: boolean; }): VNode[]; + /** + * Custom row toggler icon template. + * @param {Object} scope - row toggler icon slot's params. + */ + rowtoggleicon(scope: { + /** + * Style class of the row toggler icon. + */ + class: string; + /** + * Current row expanded state. + */ + rowExpanded: boolean; + }): VNode[]; /** * Custom row checkbox icon template. * @param {Object} scope - header row icon slot's params. @@ -948,6 +963,15 @@ export interface ColumnSlots { * Custom row reorder icon template. */ rowreordericon(): VNode[]; + /** + * @deprecated since v4.0. Use 'nodetoggleicon' slot instead. + * Custom node toggler icon template. + */ + nodetogglericon(): VNode[]; + /** + * Custom node toggler icon template. + */ + nodetoggleicon(): VNode[]; } export interface ColumnEmits {} diff --git a/components/lib/treetable/BodyCell.vue b/components/lib/treetable/BodyCell.vue index ab6492215..0c3642b20 100644 --- a/components/lib/treetable/BodyCell.vue +++ b/components/lib/treetable/BodyCell.vue @@ -2,11 +2,15 @@