Triggers a confetti explosion on the screen.
Usage
confetti(
particle_count = 100,
spread = 70,
width = NULL,
height = NULL,
elementId = NULL
)
confettiOutput(outputId, width = "100%", height = "0px")
renderConfetti(expr, env = parent.frame(), quoted = FALSE)Arguments
- particle_count
Integer. Number of particles to fire (default 150).
- spread
Integer. How wide the explosion is in degrees (default 100).
- width
Must be a valid CSS unit (like '100%', '400px', 'auto') or a number.
- height
Must be a valid CSS unit (like '100%', '400px', 'auto') or a number.
- elementId
Use an explicit element ID for the widget (optional).
- outputId
output variable to read from
- expr
An expression that generates a confetti
- env
The environment in which to evaluate
expr.- quoted
Is
expra quoted expression (withquote())?