mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 06:02:36 +03:00
Update the documentation for the init method on Confetti
This commit is contained in:
parent
fc682f902d
commit
47b5f61811
@ -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 : Float -> Model
|
||||||
init center =
|
init center =
|
||||||
System (ParticleSystem.init (Random.initialSeed 0)) center
|
System (ParticleSystem.init (Random.initialSeed 0)) center
|
||||||
|
Loading…
Reference in New Issue
Block a user