Skip to content

Commit 933d5b5

Browse files
committed
chore(row-drag): renaming the directive to IgxRowDragGhost #6081
1 parent fd237e1 commit 933d5b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { IgxColumnResizingService } from '../resizing/resizing.service';
2222
import { IgxGridSummaryService } from '../summaries/grid-summary.service';
2323
import { IgxGridSelectionService, IgxGridCRUDService } from '../selection/selection.service';
2424
import { IgxForOfSyncService, IgxForOfScrollSyncService } from '../../directives/for-of/for_of.sync.service';
25-
import { IgxDragIndicatorIconDirective, IgxDragCustomGhostDirective } from '../row-drag.directive';
25+
import { IgxDragIndicatorIconDirective, IgxRowDragGhost } from '../row-drag.directive';
2626
import { IgxGridMRLNavigationService } from '../grid-mrl-navigation.service';
2727
import { FilterMode } from '../common/enums';
2828
import { GridType } from '../common/grid.interface';
@@ -509,7 +509,7 @@ export class IgxGridComponent extends IgxGridBaseDirective implements GridType,
509509
* </igx-grid>
510510
* ```
511511
*/
512-
@ContentChild(IgxDragCustomGhostDirective, { read: TemplateRef, static: false })
512+
@ContentChild(IgxRowDragGhost , { read: TemplateRef, static: false })
513513
public dragGhostCustomTemplate: TemplateRef<any> = null;
514514

515515
@ViewChildren(IgxGridGroupByRowComponent, { read: IgxGridGroupByRowComponent })

projects/igniteui-angular/src/lib/grids/row-drag.directive.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ export class IgxDragIndicatorIconDirective {
164164
selector: '[igxDragCustomGhost]'
165165
})
166166

167-
export class IgxDragCustomGhostDirective {
167+
export class IgxRowDragGhost {
168168
}
169169

170170
@NgModule({
171-
declarations: [IgxRowDragDirective, IgxDragIndicatorIconDirective, IgxDragCustomGhostDirective],
171+
declarations: [IgxRowDragDirective, IgxDragIndicatorIconDirective, IgxRowDragGhost ],
172172
entryComponents: [],
173-
exports: [IgxRowDragDirective, IgxDragIndicatorIconDirective, IgxDragCustomGhostDirective],
173+
exports: [IgxRowDragDirective, IgxDragIndicatorIconDirective, IgxRowDragGhost ],
174174
imports: []
175175
})
176176

0 commit comments

Comments
 (0)