UNPKG

coersystem

Version:

Library for Angular projects

22 lines (21 loc) 1.29 kB
import * as i0 from "@angular/core"; export declare class CoerAlert { /** Use this alert to issue a success message */ Success(message?: string | null, title?: string | null, icon?: string | null, autohide?: number | null): void; /** Use this alert to issue a error or danger */ Error(message?: string | null, title?: string | null, icon?: string | null, autohide?: number | null): void; /** Use this alert to broadcast an informational message */ Info(message?: string | null, title?: string | null, icon?: string | null, autohide?: number | null): void; /** Use this alert to issue a warning message */ Warning(message?: string | null, title?: string | null, icon?: string | null, autohide?: number | null): void; /** Use this alert to confirm a user action */ Confirm(message?: string, alertType?: 'warning' | 'danger' | 'success' | 'info', icon?: string | null): Promise<boolean>; /** */ protected _Close(alert: 'alert-success' | 'alert-error' | 'alert-info' | 'alert-warning'): Promise<void>; /** */ private _SetIcon; /** */ private _SetAutoHide; static ɵfac: i0.ɵɵFactoryDeclaration<CoerAlert, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CoerAlert, "coer-alert", never, {}, {}, never, never, true, never>; }