Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In angular application, while inspecting an element via chrome dev tool, why do I not see pure html?

My question is basically what the title says:

If browser do not understand angular, why am I seeing angular while inspecting element in spite of using AOT (no angular compiler in the browser)?

Is there anyway to see the DOM with pure html elements?

E.g. Why do I see <k-dialog> element, when using kendo dialog which is angular component? Are these elements simply ignored or are they div under the hood?

enter image description here

like image 270
ANewGuyInTown Avatar asked Dec 12 '25 18:12

ANewGuyInTown


1 Answers

What you're seeing is standard HTML, because HTML5 allows custom elements:

https://www.html5rocks.com/en/tutorials/webcomponents/customelements/

like image 109
kshetline Avatar answered Dec 14 '25 09:12

kshetline