Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

25 righe
428 B

  1. export class Alert {
  2. id?: string;
  3. type?: AlertType;
  4. message?: string;
  5. autoClose?: boolean;
  6. keepAfterRouteChange?: boolean;
  7. fade?: boolean;
  8. constructor(init?:Partial<Alert>) {
  9. Object.assign(this, init);
  10. }
  11. }
  12. export enum AlertType {
  13. Success,
  14. Error,
  15. Info,
  16. Warning
  17. }
  18. export class AlertOptions {
  19. id?: string;
  20. autoClose?: boolean;
  21. keepAfterRouteChange?: boolean;
  22. }