Skip to content

Commit 7c9412a

Browse files
committed
feat(esf): rename template selectors #5448
1 parent 2ec9981 commit 7c9412a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/grid.excel-style-filtering.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,28 @@ export class FilterListItem {
5151
}
5252

5353
@Directive({
54-
selector: '[igxExcelStyleSortingTemplate]'
54+
selector: '[igxExcelStyleSorting]'
5555
})
5656
export class IgxExcelStyleSortingTemplateDirective {
5757
constructor(public template: TemplateRef<any>) {}
5858
}
5959

6060
@Directive({
61-
selector: '[igxExcelStyleMovingTemplate]'
61+
selector: '[igxExcelStyleMoving]'
6262
})
6363
export class IgxExcelStyleMovingTemplateDirective {
6464
constructor(public template: TemplateRef<any>) {}
6565
}
6666

6767
@Directive({
68-
selector: '[igxExcelStyleHidingTemplate]'
68+
selector: '[igxExcelStyleHiding]'
6969
})
7070
export class IgxExcelStyleHidingTemplateDirective {
7171
constructor(public template: TemplateRef<any>) {}
7272
}
7373

7474
@Directive({
75-
selector: '[igxExcelStylePinningTemplate]'
75+
selector: '[igxExcelStylePinning]'
7676
})
7777
export class IgxExcelStylePinningTemplateDirective {
7878
constructor(public template: TemplateRef<any>) {}

projects/igniteui-angular/src/lib/test-utils/grid-samples.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -949,10 +949,10 @@ export class IgxGridFilteringComponent extends BasicGridComponent {
949949
<igx-column width="100px" [field]="'AnotherField'" [header]="'Another Field'" [filterable]="filterable"
950950
dataType="string" [filters]="customFilter" [sortable]="'true'" [movable]="'true'">
951951
</igx-column>
952-
<ng-template igxExcelStyleSortingTemplate><div class="esf-custom-sorting">Sorting Template</div></ng-template>
953-
<ng-template igxExcelStyleHidingTemplate><div class="esf-custom-hiding">Hiding Template</div></ng-template>
954-
<ng-template igxExcelStyleMovingTemplate><div class="esf-custom-moving">Moving Template</div></ng-template>
955-
<ng-template igxExcelStylePinningTemplate><div class="esf-custom-pinning">Pinning Template</div></ng-template>
952+
<ng-template igxExcelStyleSorting><div class="esf-custom-sorting">Sorting Template</div></ng-template>
953+
<ng-template igxExcelStyleHiding><div class="esf-custom-hiding">Hiding Template</div></ng-template>
954+
<ng-template igxExcelStyleMoving><div class="esf-custom-moving">Moving Template</div></ng-template>
955+
<ng-template igxExcelStylePinning><div class="esf-custom-pinning">Pinning Template</div></ng-template>
956956
</igx-grid>`
957957
})
958958
export class IgxGridFilteringESFTemplatesComponent extends BasicGridComponent {

0 commit comments

Comments
 (0)