Access value inside component tag

0

In my component I'm trying to get 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 like 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 the component's html.

± equal to the vue.js slot ...

In my index.html I put:

<teste>Testando... 1... 2... 3...</teste>

And I would like to get the text in my app.component.ts

    
asked by anonymous 12.03.2018 / 19:39

0 answers