update_rank_list | R Documentation |
Change the text or labels of a rank list.
update_rank_list(
css_id,
text = NULL,
labels = NULL,
session = shiny::getDefaultReactiveDomain()
)
css_id |
This is the css id to use, and must be unique in your shiny
app. This defaults to the value of |
text |
Text to appear at top of list. |
labels |
A character vector with the text to display inside the widget.
This can also be a list of html tag elements. The text content of each
label or label name will be used to set the shiny |
session |
The |
rank_list
## Example of a shiny app that updates a bucket list and rank list
if (interactive()) {
app <- system.file(
"shiny/update_rank_list/app.R",
package = "sortable"
)
shiny::runApp(app)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.