How to enable/disable toolbar item/items

18 Nov 20181 minute to read

The toolbar items can be enabled or disabled by specifying them in the enableToolbarItems or disableToolbarItems methods, respectively.

The following example shows enabling and disabling toolbar items on button click.

The output will look like the image below when enabling toolbar items.

File Manager enable toolbar items

The output will look like the image below when disabling toolbar items.

File Manager disable toolbar items