countup-shiny: Shiny bindings for countup

Description Usage Arguments

Description

Output and render functions for using countup within Shiny applications and interactive Rmd documents.

Usage

1
2
3
4
5
countupOutput(outputId, width = "100%", height = "400px")

renderCountup(expr, env = parent.frame(), quoted = FALSE)

countupProxy(id, session = shiny::getDefaultReactiveDomain())

Arguments

outputId

output variable to read from

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

expr

An expression that generates a countup

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

id

Id of countup object to create a proxy.

session

A valid shiny session.


JohnCoene/countup documentation built on Aug. 24, 2020, 8:58 p.m.