Skip to content

Commit 1d85f0c

Browse files
thePunderWomankirjs
authored andcommitted
docs: remove unused imports in examples (angular#60867)
PR Close angular#60867
1 parent c0ef923 commit 1d85f0c

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

adev/src/content/examples/animations/src/app/hero-list-auto.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@ import {Component, Input, Output, EventEmitter} from '@angular/core';
22
import {trigger, state, style, animate, transition} from '@angular/animations';
33

44
import {Hero} from './hero';
5-
import {NgFor} from '@angular/common';
65

76
@Component({
87
selector: 'app-hero-list-auto',
98
templateUrl: 'hero-list-auto.component.html',
109
styleUrls: ['./hero-list-page.component.css'],
11-
imports: [NgFor],
1210
// #docregion auto-calc
1311
animations: [
1412
trigger('shrinkOut', [

adev/src/content/examples/animations/src/app/hero-list-enter-leave.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {Component, Input, Output, EventEmitter} from '@angular/core';
22
import {trigger, state, style, animate, transition} from '@angular/animations';
33

44
import {Hero} from './hero';
5-
import {NgFor} from '@angular/common';
65

76
@Component({
87
selector: 'app-hero-list-enter-leave',
@@ -19,7 +18,6 @@ import {NgFor} from '@angular/common';
1918
</ul>
2019
`,
2120
styleUrls: ['./hero-list-page.component.css'],
22-
imports: [NgFor],
2321
// #docregion animationdef
2422
animations: [
2523
trigger('flyInOut', [

adev/src/content/examples/animations/src/app/hero-list-groups.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {Component, Input, Output, EventEmitter} from '@angular/core';
22
import {trigger, state, style, animate, transition, group} from '@angular/animations';
33

44
import {Hero} from './hero';
5-
import {NgFor} from '@angular/common';
65

76
@Component({
87
selector: 'app-hero-list-groups',
@@ -19,7 +18,6 @@ import {NgFor} from '@angular/common';
1918
</ul>
2019
`,
2120
styleUrls: ['./hero-list-page.component.css'],
22-
imports: [NgFor],
2321
// #docregion animationdef
2422
animations: [
2523
trigger('flyInOut', [

adev/src/content/examples/animations/src/app/hero-list-page.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ import {Component, HostBinding, OnInit} from '@angular/core';
44
import {trigger, transition, animate, style, query, stagger} from '@angular/animations';
55
import {HEROES} from './mock-heroes';
66
import {Hero} from './hero';
7-
import {NgFor} from '@angular/common';
87

98
// #docregion filter-animations
109
@Component({
1110
// #enddocregion filter-animations
12-
imports: [NgFor],
1311
selector: 'app-hero-list-page',
1412
templateUrl: 'hero-list-page.component.html',
1513
styleUrls: ['hero-list-page.component.css'],

adev/src/content/examples/animations/src/app/insert-remove.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
// #docplaster
22
import {Component} from '@angular/core';
33
import {trigger, transition, animate, style} from '@angular/animations';
4-
import {NgIf} from '@angular/common';
54

65
@Component({
76
selector: 'app-insert-remove',
8-
imports: [NgIf],
97
animations: [
108
// #docregion enter-leave-trigger
119
trigger('myInsertRemoveTrigger', [

adev/src/content/examples/animations/src/app/querying.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
} from '@angular/animations';
1212

1313
import {HEROES} from './mock-heroes';
14-
import {NgIf} from '@angular/common';
1514

1615
@Component({
1716
selector: 'app-querying',
@@ -34,7 +33,6 @@ import {NgIf} from '@angular/common';
3433
}
3534
`,
3635
styleUrls: ['./querying.component.css'],
37-
imports: [NgIf],
3836
animations: [
3937
trigger('query', [
4038
transition(':enter', [

adev/src/content/examples/inputs-outputs/src/app/app.component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// #docplaster
22
import {Component} from '@angular/core';
3-
import {NgFor} from '@angular/common';
43

54
import {AliasingComponent} from './aliasing.component';
65
import {InputOutputComponent} from './input-output.component';
@@ -19,7 +18,6 @@ import {ItemOutputComponent} from './item-output.component';
1918
ItemDetailComponent,
2019
ItemDetailMetadataComponent,
2120
ItemOutputComponent,
22-
NgFor,
2321
],
2422
})
2523

0 commit comments

Comments
 (0)