UNPKG

@ng-matero/extensions

Version:
36 lines (35 loc) 1.99 kB
import { AnimationEvent } from '@angular/animations'; import { FocusMonitor, FocusTrapFactory, InteractivityChecker } from '@angular/cdk/a11y'; import { CdkDialogContainer } from '@angular/cdk/dialog'; import { OverlayRef } from '@angular/cdk/overlay'; import { CdkPortalOutlet } from '@angular/cdk/portal'; import { ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core'; import { MtxDrawerConfig } from './drawer-config'; import * as i0 from "@angular/core"; /** * Internal component that wraps user-provided drawer content. * @docs-private */ export declare class MtxDrawerContainer extends CdkDialogContainer<MtxDrawerConfig> implements OnDestroy { /** The portal outlet inside of this container into which the content will be loaded. */ _portalOutlet: CdkPortalOutlet; /** The state of the drawer animations. */ _animationState: 'void' | 'visible' | 'hidden'; /** Emits whenever the state of the animation changes. */ _animationStateChanged: EventEmitter<AnimationEvent>; /** Whether the component has been destroyed. */ private _destroyed; get _drawerPosition(): string; constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, document: any, config: MtxDrawerConfig, checker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, focusMonitor?: FocusMonitor); protected _contentAttached(): void; /** Begin animation of bottom sheet entrance into view. */ enter(): void; /** Begin animation of the bottom sheet exiting from view. */ exit(): void; ngOnDestroy(): void; _onAnimationDone(event: AnimationEvent): void; _onAnimationStart(event: AnimationEvent): void; protected _captureInitialFocus(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MtxDrawerContainer, [null, null, { optional: true; }, null, null, null, null, null]>; static ɵcmp: i0.ɵɵComponentDeclaration<MtxDrawerContainer, "mtx-drawer-container", never, {}, {}, never, never, true, never>; }