modalOutput: The output function of the 'modal' module

View source: R/modal.R

modalOutputR Documentation

The output function of the modal module

Description

This module uses modals from shinyBS to create overlaid text for the current panel which displays when a link is clicked. Input and output functions are placed in the output function of the calling module (see example).

Usage

modalOutput(id, title, content)

Arguments

id

Modal ID. Must match that passed to inlinehelpInput

title

Title to show on the help modal

content

String with content to inlude in modal

Details

This is handy, for example when adding help text.

Examples

modalOutput(ns("dendro"), "Sample clustering dendrogram", includeMarkdown(system.file("inlinehelp", "dendro.Rmd", package = packageName())))


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.