UNPKG

ngx-slice-kit

Version:

[![npm version](https://badge.fury.io/js/ngx-slice-kit.svg)](https://badge.fury.io/js/ngx-slice-kit)

26 lines (25 loc) 737 B
import { EventEmitter } from '@angular/core'; export declare class AlertOptions { $action?: EventEmitter<any>; message: string; title?: string; timeout?: number; type?: AlertType; customIcon?: string; small?: boolean; action?: boolean; actionText?: string; positionX?: AlertXPosition; positionY?: AlertYPosition; refName?: string; index?: number; active?: boolean; constructor(opts?: AlertOptions); } export declare class AlertResponse { index?: number; actionTriggered?: boolean; } export declare type AlertType = 'error' | 'success' | 'default'; export declare type AlertXPosition = 'left' | 'center' | 'right'; export declare type AlertYPosition = 'top' | 'bottom';