UNPKG

@cds/angular

Version:

Core component modules for Clarity Angular

33 lines (32 loc) 1.27 kB
import { ElementRef, EventEmitter } from '@angular/core'; import { CdsAlert } from '@cds/core/alert'; import * as i0 from "@angular/core"; export declare class CdsAlertDirective { protected element: CdsAlert; get size(): import("@cds/core/alert").AlertSizes; set size(value: import("@cds/core/alert").AlertSizes); get closable(): boolean | ''; set closable(value: boolean | ''); get status(): import("@cds/core/alert").AlertStatusTypes; set status(value: import("@cds/core/alert").AlertStatusTypes); get i18n(): { closeButtonAriaLabel: string; loading: string; info: string; success: string; warning: string; danger: string; }; set i18n(value: { closeButtonAriaLabel: string; loading: string; info: string; success: string; warning: string; danger: string; }); closeChange: EventEmitter<CustomEvent>; constructor(elementRef: ElementRef); static ɵfac: i0.ɵɵFactoryDeclaration<CdsAlertDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<CdsAlertDirective, "cds-alert", never, { "size": "size"; "closable": "closable"; "status": "status"; "i18n": "i18n"; }, { "closeChange": "closeChange"; }, never>; }