modalInput: The input function for the 'modal' module

View source: R/modal.R

modalInputR Documentation

The input function for 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

modalInput(id, label, class, icon = "info-circle")

Arguments

id

Modal ID. Must match that passed to inlinehelpOutput

label

A label to use for the link

class

A class to apply to the link

icon

Icon used to activate modal

Details

This is handy, for example when adding help text.

Examples

modalInput(ns("dendro"), "help")


pinin4fjords/shinyngs documentation built on May 5, 2024, 7:17 a.m.