Learn R Programming

periscope2 (version 0.2.4)

add_ui_footer: Add UI elements to dashboard footer section

Description

Builds application footer with given configurations and elements. It is called within "ui_footer.R". Check example application for detailed example

Usage

add_ui_footer(left = NULL, right = NULL, fixed = FALSE)

Value

list of both shiny UI elements and named footer properties

Arguments

left

Left side UI elements

right

Right side UI elements

fixed

Always show footer at page bottom regardless page scroll location (default = FALSE).

Shiny Usage

Call this function from program/ui_footer.R to set footer parameters

See Also

bs4Dash:bs4DashFooter()

periscope2:add_ui_left_sidebar()

periscope2:add_ui_header()

periscope2:add_ui_body()

periscope2:add_ui_right_sidebar()

periscope2:set_app_parameters()

periscope2:ui_tooltip()

periscope2:get_url_parameters()

Examples

Run this code
  library(shiny)
  library(bs4Dash)

  # Inside ui_footer.R
  # Left text
  left <- a(href   = "https://periscopeapps.org/",
            target = "_blank",
            "periscope2")
  # Right text
  right <- "2022"

  # -- Register Elements in the ORDER SHOWN in the UI
  add_ui_footer(left, right)

Run the code above in your browser using DataLab