sass-references/angular-material/material/expansion/expansion-panel-content.ts

26 lines
772 B
TypeScript

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {Directive, TemplateRef, inject} from '@angular/core';
import {MAT_EXPANSION_PANEL, MatExpansionPanelBase} from './expansion-panel-base';
/**
* Expansion panel content that will be rendered lazily
* after the panel is opened for the first time.
*/
@Directive({
selector: 'ng-template[matExpansionPanelContent]',
})
export class MatExpansionPanelContent {
_template = inject<TemplateRef<any>>(TemplateRef);
_expansionPanel = inject<MatExpansionPanelBase>(MAT_EXPANSION_PANEL, {optional: true});
constructor(...args: unknown[]);
constructor() {}
}