A toolbar widget container for a group of interactive widgets, such as buttons or radio groups. It provides a single point of reference for keyboard navigation and focus management. It supports various orientations and disabled states.
element
HTMLElementA reference to the host element.
textDirection
anyText direction.
orientation
anyWhether the toolbar is vertically or horizontally oriented.
softDisabled
anyWhether to allow disabled items to receive focus. When true, disabled items are
focusable but not interactive. When false, disabled items are skipped during navigation.
disabled
anyWhether the toolbar is disabled.
wrap
anyWhether focus should wrap when navigating.
values
anyThe values of the selected widgets within the toolbar.
Description
A toolbar widget container for a group of interactive widgets, such as buttons or radio groups. It provides a single point of reference for keyboard navigation and focus management. It supports various orientations and disabled states.
<div ngToolbar orientation="horizontal" [wrap]="true"> <button ngToolbarWidget value="save">Save</button> <button ngToolbarWidget value="print">Print</button> <div ngToolbarWidgetGroup [(value)]="selectedAlignment"> <button ngToolbarWidget value="left">Left</button> <button ngToolbarWidget value="center">Center</button> <button ngToolbarWidget value="right">Right</button> </div></div>