With a structural directive, how would I get a hold of the (native) element the directive is on? With a normal directive, the ElementRef has it\'s nativeElement pointing to it -
This isn't pretty, but worked for me:
this.viewContainer.get(0).rootNodes[0]
I used it when implementing a version of *ngIf directive but with animation: animatedIf.
*ngIf