I have just learnt that the keyword "nativeElement" is not cross browser compliant, e.g.:
let whatever = <HTMLDivElement>this.$elementRef.nativeElement;
whatever.style.display = 'none';
which is now corrected by using the render method like so.
this._render.setElementClass(whatever, 'display', 'none');
However I also have the following:
this.whatever = <HTMLDivElement>this.$elementRef.nativeElement.querySelector(".myLookupClass");
Please advise if in this instance
".nativeElement.querySelector(".myLookupClass")"
works cross browser? If not please advise an alternative technique.
Thanks in advance.