mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-06 20:55:24 -05:00
31 lines
953 B
R
31 lines
953 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/bookmark-state.R
|
|
\name{bookmarkButton}
|
|
\alias{bookmarkButton}
|
|
\title{Create a button for bookmarking/sharing}
|
|
\usage{
|
|
bookmarkButton(label = "Bookmark...", icon = shiny::icon("link", lib =
|
|
"glyphicon"),
|
|
title = "Bookmark this application's state and get a URL for sharing.", ...)
|
|
}
|
|
\arguments{
|
|
\item{label}{The contents of the button or link--usually a text label, but
|
|
you could also use any other HTML, like an image.}
|
|
|
|
\item{icon}{An optional \code{\link{icon}} to appear on the button.}
|
|
|
|
\item{title}{A tooltip that is shown when the mouse cursor hovers over the
|
|
button.}
|
|
|
|
\item{...}{Named attributes to be applied to the button or link.}
|
|
}
|
|
\description{
|
|
A \code{bookmarkButton} is a \code{\link{actionButton}} with a default label
|
|
that consists of a link icon and the text "Share...". It is meant to be used
|
|
for bookmarking state.
|
|
}
|
|
\seealso{
|
|
configureBookmarking
|
|
}
|
|
|