The solution mentioned here from time to time (I have used it as well) is to treat text "" as… well… as nothing.
On Fri, Jan 27, 2017 at 4:45 PM, 'Rupert Smith' via Elm Discuss < [email protected]> wrote: > Having a dozy moment again... > > If I have some view that returns an Html MyFunkyStuff.Msg but I want to > Html.map that to the local Html Msg, is there a way I can discard the > message being mapped? There isn't an Html.none like there is Cmd.none or > Sub.none. > > Perhaps there isn't a way of doing this, and I need to code my own Noop > message? I guess javascript event handlers have already been attached by > the view function just executed, so they can't be turned off in this way? > > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
