Browse Source

Mark modalService.openViewRef as deprecated (#3697)

example-documentation
Thomas Rittson 3 years ago committed by GitHub
parent
commit
be040080db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      libs/angular/src/services/modal.service.ts

5
libs/angular/src/services/modal.service.ts

@ -49,6 +49,11 @@ export class ModalService { @@ -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 `<ng-template>` associated with the
* existing usage.
*/
async openViewRef<T>(
componentType: Type<T>,
viewContainerRef: ViewContainerRef,

Loading…
Cancel
Save