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
Say I want a selectChannel action that happens down in a ChannelViewModel. I want that to bubble up to its parent ChannelListViewModel:
If I declare the action in ChannelListViewModel I can wire its result up to a property right there, but there's not a good way for the ChannelViewModel to invoke the action with some information.
If I declare the action in ChannelViewModel and try to do toProperty(parentViewModel, 'selectedChannel'), it doesn't work with a when selector. I think because the parent hasn't defined the property yet.
The text was updated successfully, but these errors were encountered:
Say I want a
selectChannel
action that happens down in aChannelViewModel
. I want that to bubble up to its parentChannelListViewModel
:ChannelListViewModel
I can wire itsresult
up to a property right there, but there's not a good way for theChannelViewModel
to invoke the action with some information.ChannelViewModel
and try to dotoProperty(parentViewModel, 'selectedChannel')
, it doesn't work with awhen
selector. I think because the parent hasn't defined the property yet.The text was updated successfully, but these errors were encountered: