Update the documentation for the init method on Confetti

This commit is contained in:
Mike Steder 2022-03-29 17:34:40 -05:00 committed by Tessa Kelly
parent fc682f902d
commit 47b5f61811

View File

@ -44,7 +44,8 @@ type Confetti
}
{-| -}
{-| `center` An argument to Particle.withLocation that determines the horizontal center of viewport where you would like confetti to rain.
-}
init : Float -> Model
init center =
System (ParticleSystem.init (Random.initialSeed 0)) center