feat(Child): add broke message and update button styles
This commit is contained in:
parent
4c94212b7f
commit
f243483688
5 changed files with 31 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
<h1>Child</h1>
|
||||
<p>Balance: {{balance}}</p>
|
||||
<button type="button" (click)=takeMoney() class="btn btn-secondary">Take Money</button>
|
||||
<p [class.hidden]="!isBroke">Im broke. Now im about as poor as Jan-Marlon.</p>
|
||||
<button type="button" (click)=takeMoney() class="button">Take Money</button>
|
||||
|
|
Reference in a new issue