add_counter: Add a counter with text

Description Usage Arguments

Description

This widget consists of two spans and a slider.

Usage

1
add_counter(my_html, into = "<body>", text, counter_id, value = "")

Arguments

my_html

html in a vector of strings; output from 'create_html'.

into

character string; unique identifier of a line in the html. Element id is highly recommended.

text

character string; description of the counter.

counter_id

character string; id for the span tag which shows the count.

value

character string; the counter default value.


kcf-jackson/jsReact documentation built on May 29, 2019, 3:01 a.m.