Skip to main content

Type Alias: UiTouchButtonFocusModuleOptions

UiTouchButtonFocusModuleOptions = object

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/TouchButton/UiTouchButtonFocusModule.ts:25

Options for UiTouchButtonFocusModule.

Properties

onUiInteractionEvent()?

optional onUiInteractionEvent: (event) => boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Components/TouchButton/UiTouchButtonFocusModule.ts:31

A function which handles UiInteractionEvents routed to the module. If not defined, then the module will handle bezel rotary knob press events by calling the simulatePressed() method of its parent button and ignore all other events.

Parameters

ParameterType
eventUiInteractionEvent

Returns

boolean