MenuRecordWidget is a configurable widget that displays a set of record control buttons, with customizable icon, color, and actions.
app-menu-record-widget
true
CommonModule, FontAwesomeModule, ControlButtonsAltComponent
buttons
direction
<app-menu-record-widget [buttons]="[ { icon: faCircle, text: 'Record', onPress: startRecording, activeColor: 'red' }, { icon: faStop, text: 'Stop', onPress: stopRecording, inActiveColor: 'gray' } ]" direction="horizontal"></app-menu-record-widget> Copy
<app-menu-record-widget [buttons]="[ { icon: faCircle, text: 'Record', onPress: startRecording, activeColor: 'red' }, { icon: faStop, text: 'Stop', onPress: stopRecording, inActiveColor: 'gray' } ]" direction="horizontal"></app-menu-record-widget>
MenuRecordWidget is a configurable widget that displays a set of record control buttons, with customizable icon, color, and actions.
Selector
app-menu-record-widget
Standalone
true
Imports
CommonModule, FontAwesomeModule, ControlButtonsAltComponent
Inputs
buttons
(RecordButton[]): Array of record button configurations, each with properties for icon, active state, colors, and actions.direction
('horizontal' | 'vertical'): Layout direction for the buttons. Default is 'horizontal'.Example