Define a header panel with custom JS/CSS for a Shiny app

Share:

Description

Defines a header panel which loades custom Javascript and CSS files.

Usage

1
    custHeaderPanel(title, windowTitle = title, js = NULL, css = NULL) 

Arguments

title

Title of the shiny app

windowTitle

Title of the window for the shiny app

js

Custom javascript to be loaded in the app

css

Custom CSS to be loaded in the app

Details

See the shiny vignette for example usage.

Value

The return value is not directly meaningful to the end user and is intended to be passed into shiny layout functions such as pageWithSidebar.

Author(s)

Gabriel Becker and Jessica L. Larson

See Also

pageWithSidebar