Show
https://academy.creatio.com/docs/developer/development_tools/packages/f…
What is mean this.component?
Like
1 comments
18:11 Dec 05, 2023
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