fixed notification type

This commit is contained in:
lotte
2020-03-27 10:10:44 +01:00
parent 0850c264b6
commit a3b97f7bd9

View File

@@ -1,10 +1,9 @@
import { BrowseByType } from '../../../+browse-by/+browse-by-switcher/browse-by-decorator';
import { NotificationAnimationsType } from './notification-animations-type';
export interface INotificationOptions {
timeOut: number;
clickToClose: boolean;
animate: BrowseByType;
animate: NotificationAnimationsType | string;
}
export class NotificationOptions implements INotificationOptions {
@@ -18,6 +17,6 @@ export class NotificationOptions implements INotificationOptions {
this.timeOut = timeOut;
this.clickToClose = clickToClose;
this.animate = BrowseByType[animate];
this.animate = animate;
}
}