Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Conversation

@AstroNext
Copy link

call onMenu function if available when menu id set to context menu option.

Copy link
Member

@LukeWasTakenn LukeWasTakenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly is the use case for something like this? To call a function when the menu is opened?

@AstroNext
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants