KeyboardShortcutProps Interface

Properties for a Keyboard Shortcut

Extends

Properties

Name Type Description
isAltKeyRequired undefined | boolean Indicates whether the Alt key required.  
isCtrlKeyRequired undefined | boolean Indicates whether the Ctrl key required.  
isShiftKeyRequired undefined | boolean Indicates whether the Shift key required.  
item undefined | ActionButtonItemDef The item to execute when this shortcut is invoked.  
key string The key that invokes the shortcut.  
shortcuts undefined | KeyboardShortcutProps[] Nested array of shortcut props.  

Inherited properties

Name Type Inherited from Description
applicationData undefined | any ItemProps can be used by application to store miscellaneous data.
badgeType undefined | BadgeType ItemProps Badge to be overlaid on the item.
className undefined | string ItemProps Custom CSS class name
description string | StringGetter | ConditionalStringValue ItemProps if set, it is used to explicitly set the description shown by a component.
descriptionKey undefined | string ItemProps if set, it is used to define a key that is used to look up a localized string.
icon undefined | IconSpec ItemProps abstract icon definition, used when create itemDef from abstract item (ie.
iconSpec undefined | IconSpec ItemProps CSS class name or SvgPath for icon.
isActive undefined | boolean ItemProps if set, component will be considered "active" an will display an "active stripe" - defaults to false
isDisabled boolean | ConditionalBooleanValue ItemProps if true component will be disabled - defaults to false
isHidden boolean | ConditionalBooleanValue ItemProps if true component will be hidden - defaults to false
isPressed undefined | boolean ItemProps if set, component will be considered selected but will NOT display an "active stripe" - defaults to false.
itemId undefined | string ItemProps Optional unique identifier for item.
label string | StringGetter | ConditionalStringValue ItemProps if set, it is used to explicitly set the label shown by a component.
labelKey undefined | string ItemProps if set, it is used to define a key that is used to look up a localized string.
style undefined | CSSProperties ItemProps Custom CSS style properties
tooltip string | StringGetter | ConditionalStringValue ItemProps used to explicitly set the tooltip shown by a component.
tooltipKey undefined | string ItemProps if set, it is used to define a key that is used to look up a localized string.

Defined in

Last Updated: 21 March, 2024