|
1 | 1 | import { Component, ViewChild } from '@angular/core'; |
2 | | -import { NgFor, NgIf } from '@angular/common'; |
| 2 | +import { NgFor } from '@angular/common'; |
3 | 3 | import { FormsModule } from '@angular/forms'; |
4 | | -import { CarouselIndicatorsOrientation, IgxButtonDirective, IgxCarouselComponent, IgxCarouselIndicatorDirective, IgxDropDownComponent, IgxDropDownItemComponent, IgxDropDownItemNavigationDirective, IgxSlideComponent, IgxSwitchComponent, IgxToggleActionDirective } from 'igniteui-angular'; |
| 4 | +import { CarouselIndicatorsOrientation, IGX_CAROUSEL_DIRECTIVES, IgxButtonDirective, IgxCarouselComponent, IgxDropDownComponent, IgxDropDownItemComponent, IgxDropDownItemNavigationDirective, IgxSwitchComponent, IgxToggleActionDirective } from 'igniteui-angular'; |
5 | 5 |
|
6 | 6 |
|
7 | 7 | @Component({ |
8 | 8 | selector: 'app-carousel-sample', |
9 | 9 | styleUrls: ['carousel.sample.scss'], |
10 | 10 | templateUrl: 'carousel.sample.html', |
11 | | - imports: [IgxSwitchComponent, FormsModule, IgxButtonDirective, IgxToggleActionDirective, IgxDropDownItemNavigationDirective, IgxDropDownComponent, NgFor, IgxDropDownItemComponent, IgxCarouselComponent, IgxSlideComponent, IgxCarouselIndicatorDirective, NgIf] |
| 11 | + imports: [IgxSwitchComponent, FormsModule, IgxButtonDirective, IgxToggleActionDirective, IgxDropDownItemNavigationDirective, IgxDropDownComponent, NgFor, IgxDropDownItemComponent, IGX_CAROUSEL_DIRECTIVES] |
12 | 12 | }) |
13 | 13 | export class CarouselSampleComponent { |
14 | 14 | @ViewChild('car', { static: true }) |
|
0 commit comments