Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Feb 18, 2019
1 parent 46e5abe commit 4d4b277
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 31 deletions.
4 changes: 2 additions & 2 deletions R/actionBttn.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @title Awesome action button
#'
#' @description Like actionButton but awesome, via \url{https://bttn.surge.sh/}
#' @description Like \code{actionButton} but awesome, via \url{https://bttn.surge.sh/}
#'
#' @param inputId The \code{input} slot that will be used to access the value.
#' @param label The contents of the button, usually a text label.
Expand Down Expand Up @@ -90,7 +90,7 @@ actionBttn <- function(inputId, label = NULL, icon = NULL, style = "unite",



#' Create a download bttn
#' Create a download \code{\link{actionBttn}}
#'
#' Create a download button with \link{actionBttn}.
#'
Expand Down
4 changes: 2 additions & 2 deletions R/chooseSliderSkin.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' @title Theme selector for sliderInput
#' @title Theme selector for \code{sliderInput}
#'
#' @description Customize the appearance of the original shiny's sliderInputs
#' @description Customize the appearance of the original shiny's \code{sliderInput}
#'
#' @param skin The \code{skin} to apply. Choose among 5 different flavors,
#' namely 'Shiny', 'Flat', 'Modern', 'Nice', 'Simple', 'HTML5', 'Round' and 'Square'.
Expand Down
4 changes: 2 additions & 2 deletions R/input-airDatepicker.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#' @param width The width of the input, e.g. \code{'400px'}, or \code{'100\%'}.
#' @param ... Arguments passed to \code{airDatepickerInput}.
#'
#' @note This widget prevents `dateInput` from working, don't use both !
#' @note This widget prevents \code{dateInput} from working, don't use both !
#'
#' @return a \code{Date} object or a \code{POSIXct} in UTC timezone.
#'
Expand Down Expand Up @@ -274,7 +274,7 @@ airYearpickerInput <- function(inputId, label = NULL, value = NULL, ...) {



#' Change the value of a airDate input on the client
#' Change the value of \code{\link{airDatepickerInput}} on the client
#'
#' @param session The \code{session} object passed to function given to \code{shinyServer}.
#' @param inputId The id of the input object.
Expand Down
4 changes: 2 additions & 2 deletions R/input-awesomecheckbox.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ awesomeCheckboxGroup <- function (inputId, label, choices, selected = NULL, inli



#' @title Change the value of a AwesomeCheckboxGroup input on the client
#' @title Change the value of a \code{\link{awesomeCheckboxGroup}} input on the client
#'
#' @description
#' Change the value of a AwesomeCheckboxGroup input on the client
#' Change the value of a \code{\link{awesomeCheckboxGroup}} input on the client
#'
#'
#' @param session The session object passed to function given to shinyServer.
Expand Down
7 changes: 2 additions & 5 deletions R/input-colorselector.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@
#' @param label Display label for the control, or \code{NULL} for no label.
#' @param choices A list of colors, can be a list of named list, see example.
#' @param selected Default selected color, if \code{NULL} the first color for \code{mode = 'radio'}
#' and none for \code{mode = 'checkbox'}
#' and none for \code{mode = 'checkbox'}
#' @param mode \code{'radio'} for only one choice, \code{'checkbox'} for
#' selecting multiple values.
#' selecting multiple values.
#' @param display_label Display list's names after palette of color.
#' @param ncol If choices is not a list but a vector, go to line after n elements.
#'
#' @return a colorSelectorInput control
#' @importFrom htmltools tags tagList
#' @export
#'
#' @examples
#' \dontrun{
#' if (interactive()) {
#'
#' # Full example
Expand All @@ -43,7 +41,6 @@
#' shinyApp(ui = ui, server = server)
#'
#' }
#' }
colorSelectorInput <- function(inputId, label, choices, selected = NULL, mode = c("radio", "checkbox"), display_label = FALSE, ncol = 10) {
selected <- shiny::restoreInput(id = inputId, default = selected)
mode <- match.arg(arg = mode)
Expand Down
4 changes: 2 additions & 2 deletions R/module-pickerGroup.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

#' @title Picker Group
#'
#' @description Group of mutually dependent `pickerInput` for filtering \code{data.frame}'s columns.
#' @description Group of mutually dependent \code{\link{pickerInput}} for filtering \code{data.frame}'s columns.
#'
#' @param id Module's id.
#' @param params A named list of parameters passed to each `pickerInput`, you can use :
#' @param params A named list of parameters passed to each \code{\link{pickerInput}}, you can use :
#' `inputId` (obligatory, must be variable name), `label`, `placeholder`.
#' @param label Character, global label on top of all labels.
#' @param btn_label Character, reset button label.
Expand Down
2 changes: 1 addition & 1 deletion man/actionBttn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/airDatepicker.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/chooseSliderSkin.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/colorSelectorInput.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/downloadBttn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/pickerGroup-module.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/updateAirDateInput.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/updateAwesomeCheckboxGroup.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d4b277

Please sign in to comment.