set_app_parameters: Set Application Parameters

View source: R/ui_helpers.R

set_app_parametersR Documentation

Set Application Parameters

Description

This function sets global parameters customizing the shiny application.

Usage

set_app_parameters(
  title,
  titleinfo = NULL,
  loglevel = "DEBUG",
  showlog = TRUE,
  app_version = "1.0.0"
)

Arguments

title

application title text

titleinfo

character string, HTML value or NULL

  • A character string will be used to set a link target. This means the user will be able to click on the application title and be redirected in a new window to whatever value is given in the string. Any valid URL, File, or other script functionality that would normally be accepted in an <a href=...> tag is allowed.

  • An HTML value will be used to as the HTML content for a modal pop-up window that will appear on-top of the application when the user clicks on the application title.

  • Supplying NULL will disable the title link functionality.

loglevel

character string designating the log level to use for the userlog (default = 'DEBUG')

showlog

enable or disable the visible userlog at the bottom of the body on the application. Logging will still take place, this disables the visible functionality only.

app_version

character string designating the application version (default = '1.0.0').

Shiny Usage

Call this function from program/global.R to set the application parameters.


neuhausi/periscope documentation built on Nov. 9, 2023, 11:07 a.m.