MseekWidgets: MseekWidgets

View source: R/Documentation_templates.R

MseekWidgetsR Documentation

MseekWidgets

Description

MseekWidgets should work in a "vanilla" shiny environment, i.e. any shiny app, making it easy to use them in other shiny projects without significant overhead. The only expected argument they need is a list supplied as reactives, and potentially additional arguments for which default values exist. Widgets are typically wrappers for plotting functions with some additional functionality.

Usage

MseekWidgets(input, output, session, reactives, static, keys, ...)

MseekWidgetsUI(id)

Arguments

input, output, session

arguments necessary for use with callModule()

reactives

a list, wrapped in a reactive() expression with settings for this module. See details.

static

a list of arguments that are not in a reactive context and hence do not change while the app is running.

keys

reactive({}) that reports the current key press.

...

additional arguments, as defined for the individual module. For example: constant layout options depending on the context that this module is used in

id

id to be used to define a namespace via NS() (must match id in callModule for the server Module)

Functions

  • MseekWidgets: generic server logic example for MseekWidgets

  • MseekWidgetsUI: generic UI example for MseekWidgets


mjhelf/Mosaic documentation built on April 28, 2022, 11:32 a.m.