Which of these elements can fire events? Is the text at the bottom the only place where the user can interact?
If so, then the graphical elements up top can just be functions that take whatever data is needed to draw them. ivDrip : IvData -> Html a clock : Time -> Html a On Sat, Oct 22, 2016 at 3:43 PM, Brian Marick <[email protected]> wrote: > My app currently has three logically/visually distinct components: > > > The IV drip apparatus (upper left) is something that will be used in more > than one page. I’ve been trying to find a way to make it a component that I > can reuse, and I’ve been having a good deal of trouble (mostly, I’m > embarrassed to confess, due to the type checker slapping me down). I’d much > appreciate pointers to projects I can mine for ideas, patterns, templates. > > -- > 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.
