Revision 60629
Added by Argiro Kokogiannaki over 3 years ago
modules/uoa-services-library/trunk/ng-openaire-library/src/app/utils/modal/full-screen-modal/full-screen-modal.component.ts | ||
---|---|---|
41 | 41 |
title: string = null; |
42 | 42 |
@Output() |
43 | 43 |
okEmitter: EventEmitter<boolean> = new EventEmitter<boolean>(); |
44 |
@Output() |
|
45 |
cancelEmitter: EventEmitter<boolean> = new EventEmitter<boolean>(); |
|
44 | 46 |
opened: boolean = false; |
45 | 47 |
private readonly element: any; |
46 | 48 |
|
... | ... | |
69 | 71 |
if(typeof document !== "undefined") { |
70 | 72 |
this.opened = false; |
71 | 73 |
document.getElementsByTagName('html')[0].classList.remove('fs-modal-open'); |
74 |
this.cancelEmitter.emit(); |
|
72 | 75 |
} |
73 | 76 |
} |
74 | 77 |
|
Also available in: Unified diff
[Library|Trunk]
fs-modal: add event emitter for close