@asi-ngtools/lib
Version:
This project is a little components library, simple to use, which will help you to simplify your project.
36 lines (35 loc) • 1 kB
TypeScript
/**
* Class de configuration
*/
export declare class AsiNotificationConfig {
position: AsiNotificationPosition;
type: AsiNotificationType;
delayInMs: number;
withIcon: boolean;
}
/**
* Les differentes positions d'affichage possible
*/
export declare class AsiNotificationPosition {
value: string;
static TOP_LEFT: AsiNotificationPosition;
static TOP_RIGHT: AsiNotificationPosition;
static TOP_CENTER: AsiNotificationPosition;
static BOTTOM_LEFT: AsiNotificationPosition;
static BOTTOM_RIGHT: AsiNotificationPosition;
static BOTTOM_CENTER: AsiNotificationPosition;
constructor(value: string);
toString(): string;
}
/**
* Les differents type de notification possible
*/
export declare class AsiNotificationType {
value: string;
static SUCCESS: AsiNotificationType;
static INFO: AsiNotificationType;
static ERROR: AsiNotificationType;
static WARNING: AsiNotificationType;
constructor(value: string);
toString(): string;
}