From 47b5f618116175e5ea7948205123d1076d5fe0c1 Mon Sep 17 00:00:00 2001 From: Mike Steder Date: Tue, 29 Mar 2022 17:34:40 -0500 Subject: [PATCH] Update the documentation for the init method on Confetti --- src/Nri/Ui/Confetti/V2.elm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Nri/Ui/Confetti/V2.elm b/src/Nri/Ui/Confetti/V2.elm index 830f5afe..ce48181b 100644 --- a/src/Nri/Ui/Confetti/V2.elm +++ b/src/Nri/Ui/Confetti/V2.elm @@ -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