Question

Angular component

Like 0

Like

1 comments

Hello,

 

In this article it's shown that during the render method execution we've created a component in DOM

const component = document.createElement("angular-element-component");

In initDomEvents method the "this" context represents the DOM itself and using "this.component" you retrieve the component and add a click action to this component.

Show all comments