observe_helpers: Observe Helper Action Buttons

Description Usage Arguments Examples

View source: R/observe_helpers.R

Description

Function to show a modal dialog, observing each of the help icons in the app.

Usage

1
2
observe_helpers(session = shiny::getDefaultReactiveDomain(),
  help_dir = "helpfiles", withMathJax = FALSE)

Arguments

session

The session object in your shiny app.

help_dir

A character string of the directory containing your helpfiles.

withMathJax

If TRUE the MathJax library is added to allow for math expressions in markdown content.

Examples

1
2
3
4
5
6
7
8
9
server <- function(input, output, session){

  # use anywhere in your server.R script
  observe_helpers()
  
  # rest of server.R
  # ...
  # ...
}

shinyhelper documentation built on Nov. 9, 2019, 5:07 p.m.