Hold on folks. All of this is motivated by wanting to be able to change a text 
box for a slider, yes? You want an interface, not a component.

The Msg type should include a SetSpeed Float tag. The view should have the 
input send this Msg. The view can also expect to use the current speed in 
constructing the UI, either as the text box value or the slider position.

Also, it's not the end of the world if you have to change update. Elm makes 
refactoring very low-risk!

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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to