update_particles: Update Particles from the server in a Shiny app

Description Usage Arguments Examples

View source: R/update_particles.R

Description

Update Particles from the server in a Shiny app

Usage

1
2
3
4
5
update_particles(
  particles_id,
  config,
  session = shiny::getDefaultReactiveDomain()
)

Arguments

particles_id

Id of the targeted element.

config

A list generated with particles_config.

session

the Shiny session object to which the chart belongs; usually the default value will suffice

Examples

1
2
3
4
5
6
7
if (interactive()) {

shinydemo("container")

shinydemo("fullpage")

}

dreamRs/shinyparticles documentation built on Dec. 1, 2019, 5:16 a.m.