ng-angular-popup
Version:
A modern, lightweight, and customizable toast notification library for Angular applications
27 lines (26 loc) • 901 B
TypeScript
/**
* Toast position values as string literals
*/
export declare const TOAST_POSITIONS: {
readonly TOP_LEFT: "toaster-top-left";
readonly TOP_CENTER: "toaster-top-center";
readonly TOP_RIGHT: "toaster-top-right";
readonly BOTTOM_LEFT: "toaster-bottom-left";
readonly BOTTOM_CENTER: "toaster-bottom-center";
readonly BOTTOM_RIGHT: "toaster-bottom-right";
};
/**
* Type for toast positions
*/
export type ToastPosition = typeof TOAST_POSITIONS[keyof typeof TOAST_POSITIONS];
/**
* @deprecated Use TOAST_POSITIONS and ToastPosition instead
*/
export declare const ToasterPosition: {
readonly TOP_LEFT: "toaster-top-left";
readonly TOP_CENTER: "toaster-top-center";
readonly TOP_RIGHT: "toaster-top-right";
readonly BOTTOM_LEFT: "toaster-bottom-left";
readonly BOTTOM_CENTER: "toaster-bottom-center";
readonly BOTTOM_RIGHT: "toaster-bottom-right";
};