Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Qarun-Qadir-Bissoondial/d82eef0362c3cb1fb0362ea6537e6da5 to your computer and use it in GitHub Desktop.
Save Qarun-Qadir-Bissoondial/d82eef0362c3cb1fb0362ea6537e6da5 to your computer and use it in GitHub Desktop.
<h2>Inventory Component</h2>
<p>Increase or Decrease count</p>
<section class="count">
<button (click) = 'decrement()'>-</button>
<span>{{count}}</span>
<button (click) = 'increment()'>+</button>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment