i have an ngdropdownmenu , and I just want to "disable/enable" 'ngdropdowntoggle' by a condition .. if condition --> add ngdropdowntoggle
this is my code :
<button class="btn btn-outline-primary" type="button" ngbDropdownToggle>
{{buttonItem.titlee}}
</button>