@clr/angular
Version:
Angular components for Clarity
34 lines (33 loc) • 1.69 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
import { AlertIconAndTypesService } from './providers/icon-and-types.service';
import { MultiAlertService } from './providers/multi-alert.service';
import * as i0 from "@angular/core";
export declare class ClrAlert implements OnInit, OnDestroy {
private iconService;
private cdr;
private multiAlertService;
private commonStrings;
isSmall: boolean;
closable: boolean;
isAppLevel: boolean;
clrCloseButtonAriaLabel: string;
_closedChanged: EventEmitter<boolean>;
_closed: boolean;
private _hidden;
private subscriptions;
constructor(iconService: AlertIconAndTypesService, cdr: ChangeDetectorRef, multiAlertService: MultiAlertService, commonStrings: ClrCommonStringsService);
get alertType(): string;
set alertType(val: string);
set alertIconShape(value: string);
set closed(value: boolean);
get alertClass(): string;
get hidden(): boolean;
set hidden(value: boolean);
ngOnInit(): void;
ngOnDestroy(): void;
open(): void;
close(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ClrAlert, [null, null, { optional: true; }, null]>;
static ɵcmp: i0.ɵɵComponentDeclaration<ClrAlert, "clr-alert", never, { "isSmall": "clrAlertSizeSmall"; "closable": "clrAlertClosable"; "isAppLevel": "clrAlertAppLevel"; "clrCloseButtonAriaLabel": "clrCloseButtonAriaLabel"; "alertType": "clrAlertType"; "alertIconShape": "clrAlertIcon"; "closed": "clrAlertClosed"; }, { "_closedChanged": "clrAlertClosedChange"; }, never, ["*"], false, never>;
}