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
So I'm trying to implement a somewhat tricky behavior requiring information if the selection was changed. I.e. when the menu opens there's a pre-selected item, the user selects another item, then changes their mind and returns back to the pre-selected item.
To do this I'm trying to subscribe to view's event change but it looks like I don't understand something about those events or their handling. Here's my try:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
So I'm trying to implement a somewhat tricky behavior requiring information if the selection was changed. I.e. when the menu opens there's a pre-selected item, the user selects another item, then changes their mind and returns back to the pre-selected item.
To do this I'm trying to subscribe to view's event
changebut it looks like I don't understand something about those events or their handling. Here's my try:IN!doesn't show up. So how do I detect new selection?Beta Was this translation helpful? Give feedback.
All reactions