Disabling Toolbar Button (not clickable)

I am trying to “disable” a toolbar button so that is not clickable (use case is for it to just display some short text directly on the toolbar). Through bootstrap CSS classes, I found that adding “disabled” achieves the visual effect but the button is still clickable.


"toolbarButton": {
    "class": "btn-info disabled",
    "iconClass": "fas fa-tools"

Is there a way to disable the clickable nature of the button entirely? In HTML, there is a disabled=“disabled” attribute I can set for the “button” tag which should achieve this. Namely:

<button type="button" class="btn btn-info disabled">Info</button>

How can I inject this into UX so that it is applied to a specific button? Thanks!