You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 satır
1.7KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/components.R
  3. \name{bulma_sidenote}
  4. \alias{bulma_sidenote}
  5. \title{Bulma Message as a Sidenote}
  6. \usage{
  7. bulma_sidenote(..., side = c("right", "left"), header = NULL,
  8. color = NULL, size = c("small", "normal", "medium", "large"),
  9. width = "one-third", delete = FALSE, column_class = NULL)
  10. }
  11. \arguments{
  12. \item{...}{Arguments passed on to \code{bulma_message}
  13. \describe{
  14. \item{header}{Message header}
  15. \item{delete}{Should delete button be displayed in upper right corner?}
  16. \item{size}{Text size, one of \code{"small"}, \code{"normal"} (default),
  17. \code{"medium"}, or \code{"large"}.}
  18. \item{width}{Width of the message. If \code{NULL} then width is 100% of container.
  19. If specified, the message is wrapped in a \code{column} div (see \code{\link[=bulma_column]{bulma_column()}}
  20. for more information and for valid column sizes).}
  21. \item{centered}{Should the message container be centered horizontally?
  22. Requires \code{width} to be specified. If \code{TRUE}, the message container is
  23. inside a \code{column} div inside a \code{columns} div.}
  24. \item{column_class}{Additional parameters passed to the \code{class} argument
  25. of the \code{column} div. Only used if \code{width} is specified.}
  26. }}
  27. \item{side}{Should the sidenote be pulled to the left or the right?}
  28. }
  29. \description{
  30. Creates a message block as a sidenote, pulled either left or right.
  31. }
  32. \examples{
  33. bulma_sidenote("A sidenote!", side = "left", color = "info")
  34. bulma_sidenote("A sidenote!", side = "right", color = "info",
  35. header = "Title")
  36. }
  37. \seealso{
  38. \code{\link[=bulma_message]{bulma_message()}}
  39. Other Bulma components: \code{\link{bulma_message}}
  40. }
  41. \concept{Bulma components}