ShinyModule: ShinyModule

ShinyModuleR Documentation

ShinyModule

Description

ShinyModule super class

Active bindings

namespace

Namespace of the module.

Methods

Public methods


Method new()

Initializer method

Usage
ShinyModule$new(namespace)
Arguments
namespace

(character(1))

Returns

(invisible(self))


Method validate()

Validator method

Usage
ShinyModule$validate()
Returns

(invisible(self))


Method uiMenu()

Method to include a menuItem to link to the body.

Usage
ShinyModule$uiMenu(label, tag)
Arguments
label

(character(1))
Label to show for the menuItem.

tag

(character(1))
Tag to use internally in input.

Returns

(menuItem)


Method uiBody()

Method to include a tabItem to include the body.

Usage
ShinyModule$uiBody()
Returns

(tabItem)


Method server()

Method to handle the back-end.

Usage
ShinyModule$server(input, output, session)
Arguments
input

(input)
Input from the server function.

output

(output)
Output from the server function.

session

(session)
Session from the server function.

Returns

(NULL)


Method clone()

The objects of this class are cloneable with this method.

Usage
ShinyModule$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


TreatmentPatterns documentation built on Sept. 11, 2024, 8:59 p.m.