On Friday, February 10, 2017 at 12:58:21 PM UTC, Rupert Smith wrote:
>
> I could use Dom.Scroll to get the y-offset of the body (
> http://package.elm-lang.org/packages/elm-lang/dom/1.1.1/Dom-Scroll), 
> using its 'x' and 'y' tasks. The trouble is I don't know when the body may 
> have been scrolled since this is a task and not a subscription.
>
> Is a subscription for this available somewhere? Or just write my own port 
> it...
>

"elm-scroll" looks like it will do it:

http://package.elm-lang.org/packages/abrykajlo/elm-scroll/2.0.1 

-- 
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.

Reply via email to