custom.html.headers: custom.html.headers

Description Usage Arguments Details Value Author(s)

View source: R/custom.html.R

Description

Generate HTML for custom headers to load AnalysisPageServer CSS and viewport

Usage

1
2
3
custom.html.headers(libbase.prefix = get.APS.libbase.prefix(),
  viewport = "width=device-width, initial-scale=1.0",
  stylesheets = default.stylesheets(), ep.svg.styles = NULL)

Arguments

libbase.prefix

Prefix where your shared CSS files will be located. Default: get.APS.libbase.prefix().

viewport

Default: "width=device-width, initial-scale=1.0". This will be used in a <meta name="viewport"> tag.

stylesheets

Charvec of stylesheets to load. Default is default.stylesheets().

ep.svg.styles

ep-svg-styles stylesheet. Default: NULL.

Details

Generate HTML for custom headers to load AnalysisPageServer CSS and viewport. To be honest I don't understand how all this works. The main thing is that it you put this stuff up top, in the header section. The only argument you should consider touching is libbase.prefix, if you are going to put your common libraries in a shared area instead making a copy next to each dataset.

Value

HTML string to be included in <head> section.

Author(s)

Brad Friedman


AnalysisPageServer documentation built on April 28, 2020, 6:32 p.m.