Open
Description
Please describe the feature you would like to request.
PortalOutlet where the "outletElement" is an instance of an existing component
What is the use-case or motivation for this proposal?
I'm using Portal to render an overlay on top of an existing component (host component).
Is there anything else we should know?
Currently the way I do it is to have the host component injects the ElementRef so that I can get the nativeElement which I can use it as the outletElement when instantiating the DOMPortalOutlet.
I wish CDK provides a way where I don't need to explicitly injects ElementRef just so that I can get access to the host Element