DialogButtonProps
Interface: DialogButtonProps
Defined in: src/components/Dialog.ts:12
Extends
Extended by
Properties
actionDescriptionMap?
optional actionDescriptionMap: ActionDescriptionMap;
Defined in: src/components/FooterLegend.ts:53
Inherited from
FooterLegendProps
.actionDescriptionMap
children?
optional children: ReactNode;
Defined in: src/components/Dialog.ts:9
Inherited from
className?
optional className: string;
Defined in: src/components/Dialog.ts:8
Inherited from
disabled?
optional disabled: boolean;
Defined in: src/components/Dialog.ts:30
Disables the button - assigned on*
methods will not be invoked if clicked.
Note
Depending on where it is, it might still get focus. In such case it can be partially disabled separately.
See
focusable.
focusable?
optional focusable: boolean;
Defined in: src/components/Dialog.ts:40
Enables/disables the navigation based focus on button - you won't be able to navigate to it via the gamepad or keyboard.
Note
If set to false
, it still can be clicked and WILL become focused until navigated away.
Depending on the context of where the button is, even a disabled button can focused.
key?
optional key: null | Key;
Defined in: node_modules/@types/react/index.d.ts:137
Inherited from
noFocusRing?
optional noFocusRing: boolean;
Defined in: src/components/Dialog.ts:19
Enables/disables the focus around the button.
Note
Default value depends on context, so setting it to false
will enable it.
onButtonDown()?
optional onButtonDown: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:59
Parameters
evt
Returns
void
Inherited from
FooterLegendProps
.onButtonDown
onButtonUp()?
optional onButtonUp: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:60
Parameters
evt
Returns
void
Inherited from
onCancelActionDescription?
optional onCancelActionDescription: ReactNode;
Defined in: src/components/FooterLegend.ts:55
Inherited from
FooterLegendProps
.onCancelActionDescription
onCancelButton()?
optional onCancelButton: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:62
Parameters
evt
Returns
void
Inherited from
FooterLegendProps
.onCancelButton
onGamepadBlur()?
optional onGamepadBlur: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:67
Parameters
evt
Returns
void
Inherited from
FooterLegendProps
.onGamepadBlur
onGamepadDirection()?
optional onGamepadDirection: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:65
Parameters
evt
Returns
void
Inherited from
FooterLegendProps
.onGamepadDirection
onGamepadFocus()?
optional onGamepadFocus: (evt: GamepadEvent) => void;
Defined in: src/components/FooterLegend.ts:66
Parameters
evt
Returns
void
Inherited from
FooterLegendProps
.onGamepadFocus
onMenuActionDescription?
optional onMenuActionDescription: ReactNode;
Defined in: src/components/FooterLegend.ts:58
Inherited from
FooterLegendProps
.onMenuActionDescription