i have a NavigationViewModel that contains a list ...
# tornadofx
s
i have a NavigationViewModel that contains a list of enums that represent the menu items, text, graphics, etc. and a
selectedNavigationItem
. I want to correctly bind my listmenu to that model so that if the user clicks on a menu item it shows as the active item as usual and the model changes. That part works with
bind
. But ideally i'd like to be able to change the
NavigationViewModel::selectedNavigationItem
from elsewhere and have the active item in the listmenu update correctly as well