
Last chance! 50% off unlimited learning
Sale ends in
This function sets global parameters customizing the shiny application.
set_app_parameters(
title = NULL,
app_info = NULL,
log_level = "DEBUG",
app_version = "1.0.0",
loading_indicator = NULL,
announcements_file = NULL
)
no return value, called for setting new application global properties
Application detailed information. It can be 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=...></a>
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.
Designating the log level to use for the user log as 'DEBUG','INFO', 'WARN' or 'ERROR' (default = 'DEBUG')
Character string designating the application version (default = '1.0.0')
It uses waiter (see https://waiter.john-coene.com/#/).
Pass a list like list(html = spin_1(), color = "#333e48") to
configure
waiterShowOnLoad (refer to the package help for all styles).
Call this function from program/global.R
to set the application
parameters.
periscope2:announcementConfigurationsAddin()
periscope2:load_announcements()
waiter:waiter_show()
periscope2:add_ui_footer()
periscope2:add_ui_left_sidebar()
periscope2:add_ui_header()
periscope2:add_ui_body()
periscope2:add_ui_right_sidebar()
periscope2:ui_tooltip()
periscope2:get_url_parameters()
library(shiny)
library(waiter)
library(periscope2)
# Inside program/global.R
set_app_parameters(app_info = HTML("Example info"),
log_level = "DEBUG",
app_version = "1.0.0",
loading_indicator = list(html = tagList(spin_1(), "Loading ...")))
Run the code above in your browser using DataLab