This probably applies to other UI libraries like Prime-NG and the like, but I'm using ng-lightning.
I am trying to grab the ngl-checkbox element with a querySelector in one of my unit tests.
fixture = TestBed.createComponent(Component);
fixture.debugElement.nativeElement.querySelector('ng-lightning element here?');
I tried adding an id attribute on the ngl-checkbox and also the input within the ngl-checkbox tags, but that doesn't work. Since the ng-lightning element renders into a bunch of different things, what do I need to pass into the querySelector to get that checkbox?
Another thing is how do I target the ng-lightning element in an external css file? I can't just target that element like a regular h1 tag.