6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
9
- import { FocusMonitor , FocusableOption , FocusOrigin } from '@angular/cdk/a11y' ;
10
- import { ENTER , SPACE , hasModifierKey } from '@angular/cdk/keycodes' ;
9
+ import { FocusableOption , FocusMonitor , FocusOrigin } from '@angular/cdk/a11y' ;
10
+ import { ENTER , hasModifierKey , SPACE } from '@angular/cdk/keycodes' ;
11
11
import {
12
+ AfterViewInit ,
12
13
ChangeDetectionStrategy ,
13
14
ChangeDetectorRef ,
14
15
Component ,
15
16
Directive ,
16
17
ElementRef ,
17
18
Host ,
19
+ Inject ,
18
20
Input ,
19
21
OnDestroy ,
20
- ViewEncapsulation ,
21
22
Optional ,
22
- Inject ,
23
- AfterViewInit ,
23
+ ViewEncapsulation ,
24
24
} from '@angular/core' ;
25
25
import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
26
- import { merge , Subscription , EMPTY } from 'rxjs' ;
26
+ import { EMPTY , merge , Subscription } from 'rxjs' ;
27
27
import { filter } from 'rxjs/operators' ;
28
+ import { MatAccordionTogglePosition } from './accordion-base' ;
28
29
import { matExpansionAnimations } from './expansion-animations' ;
29
30
import {
30
31
MatExpansionPanel ,
31
32
MatExpansionPanelDefaultOptions ,
32
33
MAT_EXPANSION_PANEL_DEFAULT_OPTIONS ,
33
34
} from './expansion-panel' ;
34
- import { MatAccordionTogglePosition } from './accordion-base' ;
35
35
36
36
37
37
/**
38
- * `<mat-expansion-panel-header>`
39
- *
40
- * This component corresponds to the header element of an `<mat-expansion-panel>`.
38
+ * Header element of a `<mat-expansion-panel>`.
41
39
*/
42
40
@Component ( {
43
41
selector : 'mat-expansion-panel-header' ,
44
- styleUrls : [ './ expansion-panel-header.css' ] ,
45
- templateUrl : './ expansion-panel-header.html' ,
42
+ styleUrls : [ 'expansion-panel-header.css' ] ,
43
+ templateUrl : 'expansion-panel-header.html' ,
46
44
encapsulation : ViewEncapsulation . None ,
47
45
changeDetection : ChangeDetectionStrategy . OnPush ,
48
46
animations : [
@@ -211,9 +209,7 @@ export class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, Focusa
211
209
}
212
210
213
211
/**
214
- * `<mat-panel-description>`
215
- *
216
- * This directive is to be used inside of the MatExpansionPanelHeader component.
212
+ * Description element of a `<mat-expansion-panel-header>`.
217
213
*/
218
214
@Directive ( {
219
215
selector : 'mat-panel-description' ,
@@ -224,9 +220,7 @@ export class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, Focusa
224
220
export class MatExpansionPanelDescription { }
225
221
226
222
/**
227
- * `<mat-panel-title>`
228
- *
229
- * This directive is to be used inside of the MatExpansionPanelHeader component.
223
+ * Title element of a `<mat-expansion-panel-header>`.
230
224
*/
231
225
@Directive ( {
232
226
selector : 'mat-panel-title' ,
0 commit comments