You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be nice to reflect the menu changes with a NUI message for the open menu when lib.setMenuOptions() is called.
Without this feature, it takes more code to hide the menu, modify the default value of the scroll options(which needs re-registering of the menu or to call lib.setMenuOptions() on them), set the menu's startIndex, and finally open it again.
Describe the solution you'd like
Send a simple NUI message to the UI to reflect and update the changes in the menu once lib.setMenuOptions() is triggered and the menu id that is passed as the parameter matches with the menu id that is already open.
Additional context
I noticed this feature could assist with the development of a menu when I was working on a menu with scroll options that upon interacting, should change another option's attributes such as label, description, values, args, etc...
The text was updated successfully, but these errors were encountered:
This feature has been requested in the past (#121) and I have even submitted a PR with the functionality (#98). Previously it was considered undesired as the menu was not intended to be super-reactive. If this philosophy has changed I can resubmit the PR.
Is your feature request related to a problem? Please describe.
It would be nice to reflect the menu changes with a NUI message for the open menu when
lib.setMenuOptions()
is called.Without this feature, it takes more code to hide the menu, modify the default value of the scroll options(which needs re-registering of the menu or to call
lib.setMenuOptions()
on them), set the menu's startIndex, and finally open it again.Describe the solution you'd like
Send a simple NUI message to the UI to reflect and update the changes in the menu once
lib.setMenuOptions()
is triggered and the menu id that is passed as the parameter matches with the menu id that is already open.Additional context
I noticed this feature could assist with the development of a menu when I was working on a menu with scroll options that upon interacting, should change another option's attributes such as label, description, values, args, etc...
The text was updated successfully, but these errors were encountered: