diff --git a/R/bookmark-state.R b/R/bookmark-state.R index c9c200a477..496ef3a83f 100644 --- a/R/bookmark-state.R +++ b/R/bookmark-state.R @@ -550,7 +550,8 @@ restoreInput <- function(id, default) { #' When `mode = "push"`, the function called is #' `window.history.pushState(null, null, queryString)`. #' -#' @param queryString The new query string to show in the location bar. +#' @param queryString The new query string to show in the location bar. "?" for +#' empty query arguments, "/" to reset to a clean URL. #' @param mode When the query string is updated, should the the current history #' entry be replaced (default), or should a new history entry be pushed onto #' the history stack? The former should only be used in a live bookmarking