use.cardpro {card.pro} | R Documentation |
Include stylesheets and scripts
Description
Use the package scripts and stylesheets in a page
Usage
use.cardpro(
theme = letters[1:5],
jquery = FALSE,
jqueryui = TRUE,
fontawesome = FALSE,
template = "bundle",
fix.header = FALSE
)
Arguments
theme |
The template type |
jquery |
option. logical. include jquery |
jqueryui |
option. logical. include jquery UI |
fontawesome |
option. logical. include fontawesome |
template |
template folder |
fix.header |
logical. fix header if titlePanel2() is used in UI |
Value
A list of files to be inserted in the header of a page
Note
Theme options are "a", "b", "c", "d" or "e"
Examples
if(interactive()){
use.cardpro()
use.cardpro(theme="a",jqueryui = TRUE, fontawesome = FALSE)
}
[Package card.pro version 2.3.0 Index]