Пропустить значение кнопки к функции JavaScript
<!--dont forget to add value property if you wanna access value of button-->
<button #btn class="btn btn-success" value="{{order.data.order_status}}"
(click)="onClick(order.key,btn)">{{order.data.order_status}}
</button>
<!--on click .ts file-->
onClick(key:any,btn_value:HTMLButtonElement)
Farwa Miraj