Wouter, looks good. Yeah, it's not a big deal if the counter is nested or
not in this case. Just one thought - I'm not sure that the generic
signature of the CounterView.view is useful here:
view : msg -> msg -> Int -> Html msg
Yes, keeping the signature generic allows you to avoid importing Ms
Hi am trying to get my drag and drop user interface to work with touch
events. I have it working fine by subscribing to the mouse events
from https://github.com/elm-lang/mouse
I would like to do something similar with touch. I
tried knledg/touch-events but it works with attributes not with
s
>
> Here's what I've been working on. The recent git history is all about
> refactoring. Haven't introduced 'sub-components with state' or w/e and
> don't see it coming soon. It's an Elm-SPA with a Phoenix backend:
> https://github.com/knewter/time-tracker
Josh, make sure to share this exa
>
> I, like Wouter, have modelled all the Elm apps I've built over the last 9
> months on the counter-list example - commonly nesting 3 layers deep.
>
My take is that there is nothing wrong with the "full-nesting" (=
separating out Model + Msg + update + view) approach from the counter
example
>
> Here's what I've been working on. The recent git history is all about
> refactoring. Haven't introduced 'sub-components with state' or w/e and
> don't see it coming soon. It's an Elm-SPA with a Phoenix backend:
> https://github.com/knewter/time-tracker
>
Looks interesting. Thanks for sh
>
> I would love to know how to do this!
> Can anyone point me to a brain-dead-simple practical and working example
> for a non-expert Elm user like myself?
OK, so here is my take at an alternative multiple counters approach.
{- Model needs to hold a list of counter values
Any counter in the lis
>
> I would love to know how to do this!
> Can anyone point me to a brain-dead-simple practical and working example
> for a non-expert Elm user like myself?
OK, so here is my take at an alternative multiple counters approach.
import Html exposing (Html, div, button, text)
import Html.App exposin
>
> I would love to know how to do this!
> Can anyone point me to a brain-dead-simple practical and working example
> for a non-expert Elm user like myself?
OK, so here is my take at an alternative multiple counters approach.
First, putting everything in one (monolithic) module:
import Html ex
>
> I would love to know how to do this!
> Can anyone point me to a brain-dead-simple practical and working example
> for a non-expert Elm user like myself?
OK, so here is my take at an alternative multiple counters approach.
First, putting everything in one (monolithic) module:
import Html ex
>
> I would love to know how to do this!
> Can anyone point me to a brain-dead-simple practical and working example
> for a non-expert Elm user like myself?
>
OK, so here is my take at an alternative multiple counters approach.
First, putting everything in one (monolithic) module:
import Html e
Here's what I've been working on. The recent git history is all about
refactoring. Haven't introduced 'sub-components with state' or w/e and
don't see it coming soon. It's an Elm-SPA with a Phoenix
backend: https://github.com/knewter/time-tracker
On Monday, August 29, 2016 at 11:37:10 AM UTC
Wow, that's beautiful, thanks so much!!
--
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://
>
>
> For newcomers to Elm, *wouldn't it be better to change the scaling from 1
> to multiple counters in the guide in a different way? *
> E.g.
>
>1. Build everything in 1 module, e.g. save a copy of counter.elm as
>counter-list.elm
>2. Change every building block (Model, Msg, updat
Wonderful! Thanks so much for the prompt response!
On Saturday, August 27, 2016 at 11:03:09 PM UTC-5, joseph ni wrote:
>
> In your Random.map2 you're calling rMines and adding that to your model.
>
> Then you call rTargets, which calls rTargetPoss which calls rMines
> *again*, this is a independe
I'm also interested in best practices (performance wise) for using
frameworks. Should I import external libraries in my index.html file or
should I use elm packages. What's the better approach?
For example:
Should I import PureCSS im my index.html using "http://yui.yahooapis.com/pure/0.6.0/pure-
15 matches
Mail list logo