kage-ui
Version:
A minimal, border-focused Angular UI component library.
21 lines (20 loc) • 1.29 kB
TypeScript
import { AfterViewInit, EventEmitter, TemplateRef, Type, ViewContainerRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class KageDrawerHost implements AfterViewInit {
content: TemplateRef<any>;
position: 'left' | 'right';
width: string;
mode: 'template' | 'component';
dynamicComponentType?: Type<any>;
dynamicInputs: Record<string, any>;
dynamicOutputs: Record<string, (...args: any[]) => void>;
closed: EventEmitter<void>;
vcRef: ViewContainerRef;
private cmpRef?;
isOpen: boolean;
ngAfterViewInit(): void;
close(): void;
onEsc(event: KeyboardEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<KageDrawerHost, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<KageDrawerHost, "kage-drawer-host", never, { "content": { "alias": "content"; "required": false; }; "position": { "alias": "position"; "required": false; }; "width": { "alias": "width"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "dynamicComponentType": { "alias": "dynamicComponentType"; "required": false; }; "dynamicInputs": { "alias": "dynamicInputs"; "required": false; }; "dynamicOutputs": { "alias": "dynamicOutputs"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
}