66 * found in the LICENSE file at https://angular.io/license
77 */
88
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' ;
1111import {
12+ AfterViewInit ,
1213 ChangeDetectionStrategy ,
1314 ChangeDetectorRef ,
1415 Component ,
1516 Directive ,
1617 ElementRef ,
1718 Host ,
19+ Inject ,
1820 Input ,
1921 OnDestroy ,
20- ViewEncapsulation ,
2122 Optional ,
22- Inject ,
23- AfterViewInit ,
23+ ViewEncapsulation ,
2424} from '@angular/core' ;
2525import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations' ;
26- import { merge , Subscription , EMPTY } from 'rxjs' ;
26+ import { EMPTY , merge , Subscription } from 'rxjs' ;
2727import { filter } from 'rxjs/operators' ;
28+ import { MatAccordionTogglePosition } from './accordion-base' ;
2829import { matExpansionAnimations } from './expansion-animations' ;
2930import {
3031 MatExpansionPanel ,
3132 MatExpansionPanelDefaultOptions ,
3233 MAT_EXPANSION_PANEL_DEFAULT_OPTIONS ,
3334} from './expansion-panel' ;
34- import { MatAccordionTogglePosition } from './accordion-base' ;
3535
3636
3737/**
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>`.
4139 */
4240@Component ( {
4341 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' ,
4644 encapsulation : ViewEncapsulation . None ,
4745 changeDetection : ChangeDetectionStrategy . OnPush ,
4846 animations : [
@@ -211,9 +209,7 @@ export class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, Focusa
211209}
212210
213211/**
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>`.
217213 */
218214@Directive ( {
219215 selector : 'mat-panel-description' ,
@@ -224,9 +220,7 @@ export class MatExpansionPanelHeader implements AfterViewInit, OnDestroy, Focusa
224220export class MatExpansionPanelDescription { }
225221
226222/**
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>`.
230224 */
231225@Directive ( {
232226 selector : 'mat-panel-title' ,
0 commit comments