toolbar.items.toggle Function

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable: true.

In this article