UNPKG

@angular/material

Version:
29 lines (28 loc) 1.02 kB
/** * @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.io/license */ import { TemplateRef, ComponentFactoryResolver, ApplicationRef, Injector, ViewContainerRef, OnDestroy } from '@angular/core'; /** * Menu content that will be rendered lazily once the menu is opened. */ export declare class MatMenuContent implements OnDestroy { private _template; private _componentFactoryResolver; private _appRef; private _injector; private _viewContainerRef; private _document; private _portal; private _outlet; constructor(_template: TemplateRef<any>, _componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector, _viewContainerRef: ViewContainerRef, _document: any); /** * Attaches the content with a particular context. * @docs-private */ attach(context?: any): void; ngOnDestroy(): void; }