docs: add JSDoc comments to OverlayService
This commit is contained in:
parent
11e9161135
commit
bf88b88b99
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ export class OverlayService {
|
|||
|
||||
constructor() {}
|
||||
|
||||
/**
|
||||
* Set the overlay data subject.
|
||||
*
|
||||
* @param overlay The overlay type.
|
||||
* @param data The overlay data.
|
||||
*/
|
||||
setOverlayData(overlay: string, data: any) {
|
||||
this.overlayDataSubject.next({ overlay, data });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue