This widget consists of two spans and a slider.
add_counter(my_html, into = "<body>", text, counter_id, value = "")
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. |