source: trip-planner-front/node_modules/@angular/material/menu/menu-content.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { ApplicationRef, ChangeDetectorRef, ComponentFactoryResolver, InjectionToken, Injector, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
9import { Subject } from 'rxjs';
10/**
11 * Injection token that can be used to reference instances of `MatMenuContent`. It serves
12 * as alternative token to the actual `MatMenuContent` class which could cause unnecessary
13 * retention of the class and its directive metadata.
14 */
15export declare const MAT_MENU_CONTENT: InjectionToken<MatMenuContent>;
16export declare abstract class _MatMenuContentBase implements OnDestroy {
17 private _template;
18 private _componentFactoryResolver;
19 private _appRef;
20 private _injector;
21 private _viewContainerRef;
22 private _document;
23 private _changeDetectorRef?;
24 private _portal;
25 private _outlet;
26 /** Emits when the menu content has been attached. */
27 readonly _attached: Subject<void>;
28 constructor(_template: TemplateRef<any>, _componentFactoryResolver: ComponentFactoryResolver, _appRef: ApplicationRef, _injector: Injector, _viewContainerRef: ViewContainerRef, _document: any, _changeDetectorRef?: ChangeDetectorRef | undefined);
29 /**
30 * Attaches the content with a particular context.
31 * @docs-private
32 */
33 attach(context?: any): void;
34 /**
35 * Detaches the content.
36 * @docs-private
37 */
38 detach(): void;
39 ngOnDestroy(): void;
40}
41/**
42 * Menu content that will be rendered lazily once the menu is opened.
43 */
44export declare class MatMenuContent extends _MatMenuContentBase {
45}
Note: See TracBrowser for help on using the repository browser.