I have an Angular Component, the HTML looks something like this:
<!Doctype HTML>
<html>
<body>
<div class="main">
<div [ngClass]="{'parent' : loading, 'parent-no-anim': !loading}">
<div class="child">
</div>
</div>
</div>
</body>
</html>
And I implement that Component in another Component like this:
<app-mat-loading-card [loading]="device.loading || device.connecting">
Now I want to add other things in this Tag aswell, like a regular Span or something.
<app-mat-loading-card [loading]="device.loading || device.connecting">
<span class="button-title">{{device.deviceName}}</span>
</app-mat-loading-card>
I tried looking in Chrome Dev Tools, but I did not found anything in that Component Tag.
But whatever I try, nothing gets displayed. Whatever I put in that Component Tag, disappears. It would be kind if anyone could help me out, thanks :)