fireworkMessenger {r2fireworks} | R Documentation |
Add or remove fireworks graphics from page
Add fireworks visuals to page
Remove fireworks visuals from page
Add fireworks visuals to Rmarkdown page
fireworkMessenger(
type,
duration = NULL,
speed = NULL,
particleCount = 30,
session = getDefaultReactiveDomain()
)
showFireworks(
speed = 1,
particleCount = 40,
session = getDefaultReactiveDomain()
)
removeFireworks(session = getDefaultReactiveDomain())
addRmdFireworks(speed = 1, particleCount = 40)
type |
type of action e.g start, remove |
duration |
duration of fireworks outbursts |
speed |
speed of display of fireworks |
particleCount |
particle size of fireworks |
session |
session object from server |
inclusion or exclusion of fireworks from page
visible firework canvas on the page
removal of firework canvas from the page
addition of firework canvas on the page
# In R markdown documents
library(r2fireworks)
useFireworks()
addRmdFireworks(particleCount = 100, speed = 3)