gui » behaviors
behaviors
[ root » gui » behaviors ]
Use the behaviors
array to enable or disable the various context menu item behaviors. Refer to the Context Menu Tutorial for more information.
Note: You can also create your own custom menu items using the customItems
array in the contextMenu
object.
Attribute | Type | Description |
---|---|---|
customFunction custom-function | String | Custom function to trigger when custom menu item is accessed. |
enabled | String | To enable or disable individual context menu item behaviors. Accepted Values: ['all', 'none'] |
id | String | To specify the behavior ID of the context menu item that is being accessed. Accepted Values: ['2D', '2d', '3D', '3d', 'About', 'BugReport', 'BuyLicense', 'CrosshairHide', 'CrosshairShow', 'DisablePageScroll', 'DownloadCSV', 'DownloadPDF', 'DownloadSVG', 'DownloadXLS', 'EnablePageScroll', 'EnterEdit', 'ExitEdit', 'ExportData', 'FeedClear', 'FeedFaster', 'FeedPause', 'FeedStart', 'FullScreen', 'GoBack', 'GoForward', 'HideDataTable', 'HideGuide', 'HistoryBack', 'HistoryForward', 'LinScale', 'LogScale', 'LoupeHide', 'LoupeShow', 'MaximizeLegend', 'MinimizeLegend', 'NormalScreen', 'Print', 'Reload', 'SaveAsImage', 'SaveAsImagePNG', 'ShowAll', 'ShowGuide', 'SwitchTo2D', 'SwitchTo3D', 'SwitchToLin', 'SwitchToLog', 'ViewAll', 'ViewAsJPG', 'ViewAsPNG', 'ViewDataTable', 'ViewSource', 'ZoomIn', 'ZoomOut', 'about', 'bugreport', 'buyLicense', 'crosshairhide', 'crosshairshow', 'disablepagescroll', 'downloadcsv', 'downloadpdf', 'downloadsvg', 'downloadxls', 'enablepagescroll', 'enteredit', 'exitedit', 'exportdata', 'feedSlower', 'feedclear', 'feedfaster', 'feedpause', 'feedslower', 'feedstart', 'fullscreen', 'goback', 'goforward', 'hidedatatable', 'hideguide', 'historyback', 'historyforward', 'linscale', 'logscale', 'loupehide', 'loupeshow', 'maximizelegend', 'minimizelegend', 'normalscreen', 'print', 'reload', 'saveasimage', 'saveasimagepng', 'showall', 'showguide', 'switchto2d', 'switchto3d', 'switchtolin', 'switchtolog', 'viewall', 'viewasjpg', 'viewaspng', 'viewdatatable', 'viewsource', 'xmiabt', 'zoomin', 'zoomout', `${string}`] |
text | String | To set the label for the context menu item. |