You can enable or disable the ButtonGroup for Angular.
By default, the component is enabled. To disable the whole group of buttons, set the
disabled attribute of the ButtonGroup to
To disable a specific button, set its own
disabled attribute to
true and leave the
disabled attribute of the ButtonGroup undefined. If you define the
disabled attribute of the ButtonGroup, it will take precedence over the
disabled attributes of the underlying buttons and they will be ignored.
The following example demonstrates how to disable the ButtonGroup.