Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created September 28, 2020 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/0fd960198d5f7565d9a45f5fac9d6a92 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/0fd960198d5f7565d9a45f5fac9d6a92 to your computer and use it in GitHub Desktop.
<div class="counter__container">
<div class="counter__container-inner">
<h4>Counter</h4>
<div class="button-group">
<button (click)="decrement()">-</button>
<button (click)="clearCounter()">0</button>
<button (click)="increment()">+</button>
</div>
<h5>Counter: {{counter}}</h5>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment