useShinyFeedback: useShinyFeedback

Description Usage Arguments Example

View source: R/useShinyFeedback.R

Description

function to load js for using shinyFeedback

Usage

1

Arguments

feedback

boolean: source in JS/CSS to use shinyFeedback functions (Default: TRUE)

toastr

boolean: source in JS/CSS to use showToast functions (Default: TRUE)

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
  ui <- shinyUI(fluidPage(
    useShinyFeedback(
      feedback = TRUE,
      toastr = TRUE
    ),
    pageWithSidebar(
      headerPanel("Header"),
      sidebarPanel(
        ...
      ),
      mainPanel(
        ...
      )
    )
  ))

shinyFeedback documentation built on April 29, 2020, 5:08 p.m.