Skip to content

Commit

Permalink
#145 Ajout des liens vers les fonctions Shiny correspondantes.
Browse files Browse the repository at this point in the history
  • Loading branch information
lisaSMAH committed Nov 6, 2023
1 parent eb22e3c commit cd27995
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions R/modaldialog_dsfr.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ modalDialog_dsfr <- function(
#' @param ui TODO
#' @param inputId TODO
#' @param session TODO
#'
#' @seealso [showmodal() in Shiny](https://shiny.posit.co/r/reference/shiny/latest/showmodal)
#' @export
showModal_dsfr <- function(
ui,
Expand All @@ -84,7 +84,7 @@ showModal_dsfr <- function(
#'
#' @param inputId TODO
#' @param session TODO
#'
#' @seealso [removemodal() in Shiny](https://shiny.posit.co/r/reference/shiny/latest/showmodal)
#' @export
removeModal_dsfr <- function(
inputId = "fr-modal-1",
Expand Down
2 changes: 1 addition & 1 deletion R/radiogroupbuttons_dsfr.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' @param selected Element sélectionné (NULL par défaut)
#' @param inline Si TRUE, positionne les choix en ligne (c'est-à-dire horizontalement).
#' @return html
#'
#' @seealso [radioGroupButtons() in Shiny](https://rdrr.io/cran/shinyWidgets/man/radioGroupButtons.html)
#' @export
#'
#' @examples
Expand Down
4 changes: 1 addition & 3 deletions R/tabpanel.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
#' @param ... liste de tabPanel_dsfr
#' @param title titre du tabset
#' @param content contenu du tabset
#'
#' @seealso [tabsetpanel() in Shiny](https://shiny.posit.co/r/reference/shiny/latest/tabsetpanel)
#' @return html
#' @seealso [tabpanel() in Shiny](https://shiny.posit.co/r/reference/shiny/latest/tabpanel)
#' @export
#' @rdname tabPanel
#'
#' @examples
#' if (interactive()){
#' library(shiny)
Expand Down
4 changes: 1 addition & 3 deletions R/withspinner_dsfr.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#' @importFrom htmltools HTML
#' @return an html code
#' @examples addWithSpinner()
#'
#' @noRd
addWithSpinner <- function() {
HTML('<div class="lds-ring" id = "lds-ring" style="display:none"><div></div><div></div><div></div><div></div></div>')
Expand All @@ -16,7 +15,6 @@ addWithSpinner <- function() {
#' @param inputId id du spinner
#' @param session session
#' @return side effect. Masque le spinner
#'
#' @noRd
hideSpinner_dsfr <- function(
inputId,
Expand All @@ -31,7 +29,6 @@ hideSpinner_dsfr <- function(
#' @param inputId id du spinner
#' @param session session
#' @return side effect. Affiche le spinner
#'
#' @noRd
showSpinner_dsfr <- function(
inputId,
Expand All @@ -48,6 +45,7 @@ showSpinner_dsfr <- function(
#' @param session session shiny
#'
#' @return html
#' @seealso [withSpinner() in Shinycssloaders](https://www.rdocumentation.org/packages/shinycssloaders/versions/1.0.0/topics/withSpinner)
#' @export
#' @examples
#' if (interactive()) {
Expand Down

0 comments on commit cd27995

Please sign in to comment.