Output and render functions for using countup within Shiny applications and interactive Rmd documents.
1 2 3 4 5 | countupOutput(outputId, width = "100%", height = "400px")
renderCountup(expr, env = parent.frame(), quoted = FALSE)
countupProxy(id, session = shiny::getDefaultReactiveDomain())
|
outputId |
output variable to read from |
width, height |
Must be a valid CSS unit (like |
expr |
An expression that generates a countup |
env |
The environment in which to evaluate |
quoted |
Is |
id |
Id of |
session |
A valid shiny session. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.