angular nativeelement queryselector

import { Component, VERSION, ViewChild, ElementRef } from "@angular/core"; @ViewChild("myDomeElem", { static: true }) myDomeElem: ElementRef; this.myDomeElem.nativeElement.innerHTML = "Changed Dom Element Value"; if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,600],'itsolutionstuff_com-medrectangle-4','ezslot_0',155,'0','0'])};__ez_fad_position('div-gpt-ad-itsolutionstuff_com-medrectangle-4-0'); import { Component, VERSION, ViewChildren, QueryList, ElementRef } from "@angular/core"; @ViewChildren('myItemLists') items: QueryList; console.log('category clicked : ', category);