Skip to content

Commit c6de3bf

Browse files
refactor(GridRowAPISampleComponent): remove trailing spaces
1 parent 243a2f2 commit c6de3bf

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

projects/igniteui-angular/src/lib/carousel/carousel.component.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
317317
*
318318
* @memberOf IgxCarouselComponent
319319
*/
320-
@Output() public SlideChanged = new EventEmitter<ISlideEventArgs>();
320+
@Output() public onSlideChanged = new EventEmitter<ISlideEventArgs>();
321321

322322
/**
323323
* An event that is emitted after a slide has been added to the carousel.
@@ -328,7 +328,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
328328
*
329329
* @memberOf IgxCarouselComponent
330330
*/
331-
@Output() public SlideAdded = new EventEmitter<ISlideEventArgs>();
331+
@Output() public onSlideAdded = new EventEmitter<ISlideEventArgs>();
332332

333333
/**
334334
* An event that is emitted after a slide has been removed from the carousel.
@@ -339,7 +339,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
339339
*
340340
* @memberOf IgxCarouselComponent
341341
*/
342-
@Output() public SlideRemoved = new EventEmitter<ISlideEventArgs>();
342+
@Output() public onSlideRemoved = new EventEmitter<ISlideEventArgs>();
343343

344344
/**
345345
* An event that is emitted after the carousel has been paused.
@@ -350,7 +350,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
350350
*
351351
* @memberOf IgxCarouselComponent
352352
*/
353-
@Output() public CarouselPaused = new EventEmitter<IgxCarouselComponent>();
353+
@Output() public onCarouselPaused = new EventEmitter<IgxCarouselComponent>();
354354

355355
/**
356356
* An event that is emitted after the carousel has resumed transitioning between `slides`.
@@ -815,7 +815,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
815815
public stop() {
816816
if (this.pause) {
817817
this.playing = false;
818-
this.CarouselPaused.emit(this);
818+
this.onCarouselPaused.emit(this);
819819
this.resetInterval();
820820
}
821821
}
@@ -944,7 +944,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
944944
} else {
945945
this.currentItem = slide;
946946
}
947-
this.SlideChanged.emit({ carousel: this, slide });
947+
this.onSlideChanged.emit({ carousel: this, slide });
948948
this.restartInterval();
949949
}
950950
}
@@ -967,7 +967,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
967967
diff.forEachAddedItem((record: IterableChangeRecord<IgxSlideComponent>) => {
968968
const slide = record.item;
969969
slide.total = this.total;
970-
this.SlideAdded.emit({ carousel: this, slide });
970+
this.onSlideAdded.emit({ carousel: this, slide });
971971
if (slide.active) {
972972
this.currentItem = slide;
973973
}
@@ -976,7 +976,7 @@ export class IgxCarouselComponent extends IgxCarouselComponentBase implements On
976976

977977
diff.forEachRemovedItem((record: IterableChangeRecord<IgxSlideComponent>) => {
978978
const slide = record.item;
979-
this.SlideRemoved.emit({ carousel: this, slide });
979+
this.onSlideRemoved.emit({ carousel: this, slide });
980980
if (slide.active) {
981981
slide.active = false;
982982
this.currentItem = this.get(slide.index < this.total ? slide.index : this.total - 1);

src/app/grid-row-api/grid-row-api.sample.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ export class GridRowAPISampleComponent implements OnInit {
313313
public onRowDragStart(args: IRowDragStartEventArgs) {
314314
const count = this.grid.selectedRows.length || 1;
315315
this.countIcon = `filter_${count > 9 ? '9_plus' : `${count}`}`;
316+
return args;
316317
}
317318
public onLeave(args) {
318319
this.onRowDragStart(args);

src/app/tree/tree.sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class TreeSampleComponent implements AfterViewInit, OnDestroy {
188188

189189
public ngAfterViewInit() {
190190
this.tree.nodes.toArray().forEach(node => {
191-
node.selectedChange.subscribe(() => { });
191+
node.selectedChange.subscribe(() => {});
192192
});
193193
}
194194

0 commit comments

Comments
 (0)