countup: countup

View source: R/countup.R

countupR Documentation

countup

Description

Count up widget

Usage

countup(
  count = 1000,
  ...,
  start = TRUE,
  width = NULL,
  height = NULL,
  elementId = NULL
)

Arguments

count

Numeric or integer to count up to (required).

...

Any additional options.

start

Whether to start the counter.

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.

elementId

Specify element id of <span> (optional).

Value

An object of class countup

Examples

## Not run: 
countup(25)

## End(Not run)


JohnCoene/countup documentation built on Jan. 21, 2025, 12:46 p.m.