update_rank_list: Change the value of a rank list.

View source: R/rank_list.R

update_rank_listR Documentation

Change the value of a rank list.

Description

At the moment, you can only update the text of the rank_list, not the labels.

Usage

update_rank_list(
  css_id,
  text = NULL,
  session = shiny::getDefaultReactiveDomain()
)

Arguments

css_id

This is the css id to use, and must be unique in your shiny app. This defaults to the value of input_id, and will be appended to the value "rank-list-container", to ensure the CSS id is unique for the container as well as the labels. If NULL, the function generates an id of the form rank_list_id_1, and will automatically increment for every rank_list.

text

Text to appear at top of list.

session

The session object passed to function given to shinyServer.

See Also

rank_list


rstudio/sortable documentation built on April 5, 2024, 8:45 a.m.