countup-shiny: Shiny bindings for countup

countup-shinyR Documentation

Shiny bindings for countup

Description

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

Usage

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 Jan. 21, 2025, 12:46 p.m.