Icard/angular-clarity-master(work.../node_modules/@clr/angular/modal/modal.d.ts

34 lines
1.8 KiB
TypeScript
Raw Normal View History

2024-07-16 14:55:36 +00:00
import { AnimationEvent } from '@angular/animations';
import { EventEmitter, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
import { ClrCommonStringsService } from '../utils/i18n/common-strings.service';
import { ScrollingService } from '../utils/scrolling/scrolling-service';
import { ModalStackService } from './modal-stack.service';
import * as i0 from "@angular/core";
export declare class ClrModal implements OnChanges, OnDestroy {
private _scrollingService;
commonStrings: ClrCommonStringsService;
private modalStackService;
modalId: string;
_open: boolean;
_openChanged: EventEmitter<boolean>;
closable: boolean;
closeButtonAriaLabel: string;
size: string;
staticBackdrop: boolean;
skipAnimation: string;
stopClose: boolean;
altClose: EventEmitter<boolean>;
labelledBy: string;
bypassScrollService: boolean;
constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalStackService: ModalStackService);
ngOnChanges(changes: {
[propName: string]: SimpleChange;
}): void;
ngOnDestroy(): void;
open(): void;
close(): void;
fadeDone(e: AnimationEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "closeButtonAriaLabel": "clrModalCloseButtonAriaLabel"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; "bypassScrollService": "clrModalOverrideScrollService"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"], false, never>;
}