I am looking for how to access a DOM element in A4.
I am having a hard time trying to wrap my head around this... I've been reading about ElementRef, ViewChild, etc... but I still don't fully understand how to transverse the DOM elements in Angular 4. For example what would this jQuery statement be in A4?
$('events > ion-content > div.scroll-content > ion-grid:nth-child(1)').css({blah blah});
Like:
ElementRef.nativeElement - events > ion-content > div.scroll-content > ion-grid:nth-child(1)
How do I access that element in the fashion above - without adding any ids, classes, or #template tags? In certain situations I cannot access the html so I would like to know how to do this without the use of jQuery since it's frowned upon with Angular :[