Skip to content

Commit 2ad13bf

Browse files
josephperrottandrewseguin
authored andcommitted
feat(accordion): allow intermediate elements between accordion and expansion panel pt2 (#11031)
1 parent 2e54f13 commit 2ad13bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/expansion/expansion-panel.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
Component,
1919
ContentChild,
2020
Directive,
21-
Host,
2221
Input,
2322
OnChanges,
2423
OnDestroy,
@@ -88,7 +87,7 @@ export class MatExpansionPanel extends CdkAccordionItem
8887
/** ID for the associated header element. Used for a11y labelling. */
8988
_headerId = `mat-expansion-panel-header-${uniqueId++}`;
9089

91-
constructor(@Optional() @Host() accordion: MatAccordion,
90+
constructor(@Optional() accordion: MatAccordion,
9291
_changeDetectorRef: ChangeDetectorRef,
9392
_uniqueSelectionDispatcher: UniqueSelectionDispatcher,
9493
private _viewContainerRef: ViewContainerRef) {

0 commit comments

Comments
 (0)