0
In my component I’m trying to take the value inside the tag of this same component to display it in the html of it, however, this component is the main component of my application, What I’m wanting is kind of this:
<teste>Testando... 1... 2... 3...</teste>
And within my component I play the "Testing... 1... 2... 3..." into a variable or show it in component html.
just like the Vue.js slot...
In my index.html I put:
<teste>Testando... 1... 2... 3...</teste>
And I’d like to get the text from my app.component.ts
How are you communicating with this "component"? via Controller, Directive...
– Lucas Duarte
Lucas, wanted via same Component (app.component.ts). I changed the statement, see if improved.
– Eloi Martins