mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Mark modalService.openViewRef as deprecated (#3697)
This commit is contained in:
@@ -49,6 +49,11 @@ export class ModalService {
|
|||||||
return this.modalList[this.modalCount - 1];
|
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>(
|
async openViewRef<T>(
|
||||||
componentType: Type<T>,
|
componentType: Type<T>,
|
||||||
viewContainerRef: ViewContainerRef,
|
viewContainerRef: ViewContainerRef,
|
||||||
|
|||||||
Reference in New Issue
Block a user