ox_lib
ox_lib copied to clipboard
feat(context): Added onMenu field option
call onMenu function if available when menu id set to context menu option.
When navigating from one menu to another, it's sometimes necessary to retain the arguments from the previous menu. For example, to edit the name or other details of a job rank, we first select the rank (assuming the menus are pre-defined and the transition occurs through the menu system not onSelect or event). At this point, it's essential to store this rank so that we can edit it.