Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

145 améliorer laide des fonctions lien vers doc shiny #153

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#145 Ajout des liens vers les fonctions Shiny correspondantes.
lisaSMAH committed Nov 6, 2023
commit cd279954277b5f634b62855b77ccd847008b9c0b
4 changes: 2 additions & 2 deletions R/modaldialog_dsfr.R
Original file line number Diff line number Diff line change
@@ -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,
@@ -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",
2 changes: 1 addition & 1 deletion R/radiogroupbuttons_dsfr.R
Original file line number Diff line number Diff line change
@@ -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
4 changes: 1 addition & 3 deletions R/tabpanel.R
Original file line number Diff line number Diff line change
@@ -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)
4 changes: 1 addition & 3 deletions R/withspinner_dsfr.R
Original file line number Diff line number Diff line change
@@ -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>')
@@ -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,
@@ -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,
@@ -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()) {