mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 23:43:01 +00:00
Notifications test final
This commit is contained in:
@@ -86,7 +86,7 @@ export class NotificationComponent implements OnInit, OnDestroy {
|
||||
this.contentType(this.item.html, 'html');
|
||||
}
|
||||
|
||||
startTimeOut(): void {
|
||||
private startTimeOut(): void {
|
||||
this.steps = this.item.options.timeOut / 10;
|
||||
this.speed = this.item.options.timeOut / this.steps;
|
||||
this.start = new Date().getTime();
|
||||
@@ -149,7 +149,7 @@ export class NotificationComponent implements OnInit, OnDestroy {
|
||||
this[key + 'IsTemplate'] = item instanceof TemplateRef;
|
||||
}
|
||||
|
||||
setAnimationOut() {
|
||||
private setAnimationOut() {
|
||||
this.animate = this.item.options.animate + NotificationAnimationsStatus.Out;
|
||||
this.cdr.detectChanges();
|
||||
}
|
||||
|
Reference in New Issue
Block a user