UNPKG

@koalarx/ui

Version:

Koala UI is a Design System developed in Angular whose objective is to facilitate and make your development faster and simpler, making this framework your greatest ally.

15 lines (14 loc) 824 B
import { MatDialog } from '@angular/material/dialog'; import { ComponentType } from '@angular/cdk/overlay'; import { DeviceDetectorService } from "ngx-device-detector"; import * as i0 from "@angular/core"; export declare type KoalaDialogSizeType = 'auto' | 'small' | 'normal' | 'big' | 'mobile'; export declare class KoalaDialogService { private dialog; private deviceService; constructor(dialog: MatDialog, deviceService: DeviceDetectorService); open<T>(dialogComponent: ComponentType<T>, size: KoalaDialogSizeType, data?: any, triggerBeforeClosed?: string | boolean | object, beforeClosed?: (event?: any) => void): void; private dialogTemplate; static ɵfac: i0.ɵɵFactoryDeclaration<KoalaDialogService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<KoalaDialogService>; }