diff --git a/libs/angular/src/services/modal.service.ts b/libs/angular/src/services/modal.service.ts index 348e3f88c3d..18afcbbea84 100644 --- a/libs/angular/src/services/modal.service.ts +++ b/libs/angular/src/services/modal.service.ts @@ -49,6 +49,11 @@ export class ModalService { return this.modalList[this.modalCount - 1]; } + /** + * @deprecated Use `dialogService.open` (in web) or `modalService.open` (in desktop/browser) instead. + * If replacing an existing call to this method, also remove any `@ViewChild` and `` associated with the + * existing usage. + */ async openViewRef( componentType: Type, viewContainerRef: ViewContainerRef,