action_server: Action button module Server

Description Usage Arguments Value

View source: R/action.R

Description

An action button module server code that has the flexibility to be enabled and disabled based on actions that javascript will listen for

Usage

1
action_server(input, output, session, trig, disable = F)

Arguments

input

list of inputs used in the shiny application session

output

list of outputs used the shiny application session

session

The shiny app session object

trig

A reactive function. The reactive function should result in a logical value to trigger the enable or disable action

disable

Logical. A logical value that enables the trigger actions

Value

Numeric. Action button value


HarryRosen/hrimodules documentation built on Jan. 11, 2022, 12:36 a.m.