diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5069e04892..4fb14f4d75 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -30,10 +30,11 @@ export class AppComponent implements OnInit { public notificationOptions: Options = { position: ['top', 'right'], - timeOut: 5000, - lastOnBottom: true, - clickIconToClose: true, - showProgressBar: true + timeOut: 0, + animate: 'fromLeft' + // lastOnBottom: true, + // clickIconToClose: false, + // showProgressBar: true, }; notificationCreated(event) { diff --git a/src/app/shared/notifications/interfaces/options.type.ts b/src/app/shared/notifications/interfaces/options.type.ts index 46c4eb9b37..cfd45529cd 100644 --- a/src/app/shared/notifications/interfaces/options.type.ts +++ b/src/app/shared/notifications/interfaces/options.type.ts @@ -2,15 +2,15 @@ import {Icons} from './icons'; export interface Options { timeOut?: number; - showProgressBar?: boolean; - pauseOnHover?: boolean; - lastOnBottom?: boolean; - clickToClose?: boolean; - clickIconToClose?: boolean; + // showProgressBar?: boolean; + // pauseOnHover?: boolean; + // lastOnBottom?: boolean; + // clickToClose?: boolean; + // clickIconToClose?: boolean; maxLength?: number; maxStack?: number; - preventDuplicates?: boolean; - preventLastDuplicates?: boolean | string; + // preventDuplicates?: boolean; + // preventLastDuplicates?: boolean | string; theClass?: string; rtl?: boolean; animate?: 'fade' | 'fromTop' | 'fromRight' | 'fromBottom' | 'fromLeft' | 'rotate' | 'scale'; diff --git a/src/app/shared/notifications/notification/notification.component.html b/src/app/shared/notifications/notification/notification.component.html index b77f3657a4..79b75a15e4 100644 --- a/src/app/shared/notifications/notification/notification.component.html +++ b/src/app/shared/notifications/notification/notification.component.html @@ -1,13 +1,12 @@ - -
+ + {{icon}} +
+