An object defining configuration properties for the ContextMenu UI component.
Name Description accessKeySpecifies the shortcut key that sets focus on the UI component.
activeStateEnabledSpecifies whether the UI component changes its visual state as a result of user interaction.
animationConfigures UI component visibility animations. This object contains two fields: show and hide.
cssClassSpecifies the name of the CSS class to be applied to the root menu level and all submenus.
dataSourceBinds the UI component to data.
disabledSpecifies whether the UI component responds to user interaction.
disabledExprSpecifies the name of the data source item field whose value defines whether or not the corresponding UI component item is disabled.
displayExprSpecifies the data field whose values should be displayed.
elementAttrSpecifies the global attributes to be attached to the UI component's container element.
focusStateEnabledSpecifies whether the UI component can be focused using keyboard navigation.
heightSpecifies the UI component's height.
hideOnOutsideClickSpecifies whether to hide the UI component if a user clicks outside it.
hintSpecifies text for a hint that appears when a user pauses on the UI component.
hoverStateEnabledSpecifies whether the UI component changes its state when a user pauses on it.
itemComponentAn alias for the itemTemplate property specified in React. Accepts a custom component. Refer to Using a Custom Component for more information.
itemRenderAn alias for the itemTemplate property specified in React. Accepts a rendering function. Refer to Using a Rendering Function for more information.
itemsHolds an array of menu items.
itemsExprSpecifies which data field contains nested items.
itemTemplateSpecifies a custom template for items.
onContentReadyA function that is executed when the UI component is rendered and each time the component is repainted.
onDisposingA function that is executed before the UI component is disposed of.
onHiddenA function that is executed after the ContextMenu is hidden.
onHidingA function that is executed before the ContextMenu is hidden.
onInitializedA function used in JavaScript frameworks to save the UI component instance.
onItemClickA function that is executed when a collection item is clicked or tapped.
onItemContextMenuA function that is executed when a collection item is right-clicked or pressed.
onItemRenderedA function that is executed after a collection item is rendered.
onOptionChangedA function that is executed after a UI component property is changed.
onPositioningA function that is executed before the ContextMenu is positioned.
onSelectionChangedA function that is executed when a collection item is selected or selection is canceled.
onShowingA function that is executed before the ContextMenu is shown.
onShownA function that is executed after the ContextMenu is shown.
positionAn object defining UI component positioning properties.
rtlEnabledSwitches the UI component to a right-to-left representation.
selectByClickSpecifies whether an item is selected if a user clicks it.
selectedExprSpecifies the name of the data source item field whose value defines whether or not the corresponding UI component items is selected.
selectedItemThe selected item object.
selectionModeSpecifies the selection mode supported by the menu.
showEventSpecifies properties used to display the UI component.
showSubmenuModeSpecifies properties of submenu showing and hiding.
submenuDirectionSpecifies the direction at which submenus are displayed.
tabIndexSpecifies the number of the element when the Tab key is used for navigating.
targetThe target element associated with the context menu.
visibleA Boolean value specifying whether or not the UI component is visible.
widthSpecifies the UI component's width.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4