@vismaux/ngx-nordic-cool
Version:
Common Nordic-Cool components for Angular.
18 lines (17 loc) • 956 B
TypeScript
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare type NcAlertType = 'success' | 'warning' | 'info' | 'danger';
export declare type NcAlertSize = 'sm' | 'md';
/**
* An alert is a short and attention-grabbing message providing feedback about some important aspect of the service which may need to be handled by the user.
* Read more about alerts in the [UX Guidelines](https://ux.visma.com/weblibrary/latest/development/documentation/docs/alerts.php).
*/
export declare class NcAlertComponent {
type: NcAlertType;
size: NcAlertSize;
dismissable: boolean | string;
dismiss: EventEmitter<any>;
get isDismissable(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<NcAlertComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NcAlertComponent, "nc-alert", never, { "type": "type"; "size": "size"; "dismissable": "dismissable"; }, { "dismiss": "dismiss"; }, never, ["*"]>;
}