How to add an action when this button is clicked

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

So I have this button code

<button class=”card card-small” (click)=”selection.value = ‘download” tabindex=”0″>
<svg class=”material-icons” xmlns=”http://www.w3.org/2000/svg” width=”24″ height=”24″ viewBox=”0 0 24 24″><path d=”M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z”/></svg>
<span>Download</span>
</button>

How can i check if the button was clicked?

Im new to Html And Angular And i don’t know

‫أضف إجابة

تصفح
تصفح

مجهول يجيب