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
Because the toast is created as an Elmish command, it'd be useful to expose the dispatch function. For example, Elmish.Toastr allows you to send Elmish messages in the click event. Exposing dispatch would be more flexible if the user has a custom renderer and wants to display several buttons.
The text was updated successfully, but these errors were encountered:
I tried that in the past couldn't find a clean way to support this. Because the dispatch. you have access to in the Cmd is the one from the subcomponent.
Because the toast is created as an Elmish command, it'd be useful to expose the dispatch function. For example, Elmish.Toastr allows you to send Elmish messages in the click event. Exposing
dispatch
would be more flexible if the user has a custom renderer and wants to display several buttons.The text was updated successfully, but these errors were encountered: