init : Basics.Float -> Model
center
An argument to Particle.withLocation that determines the horizontal center of viewport where you would like confetti to rain.
view : Model -> Html.Styled.Html msg
Particle.System.Msg Confetti
burst : Model -> Model
burst
BURSTS CONFETTI!!!
update : Particle.System.Msg Confetti -> Model -> Model
updatePageWidth : Basics.Int -> Model -> Model
You will need to watch for page resize events and update the confetti model with the new width. If you don't, your confetti will be off-center.
Why is this not part of subscriptions? Your application may already be listening for browser resize events -- we don't want to double-up listeners unnecessarily.