text_server: Text Input module Server

Description Usage Arguments Value

View source: R/text.R

Description

A text input module server code that has the flexibility to be enabled and disabled based on actions that javascript will listen for

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
text_server(
  input,
  output,
  session,
  label = "Initiative Name:",
  width = "100%",
  placeholder = "What is the initiative called?",
  updateVal = NA,
  trig,
  disable = T
)

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

label

a character describing the action button's use or purposes

width

size of the textInput

placeholder

placeholder ghost text in the textInput

updateVal

A reactive function. The reactive function should return the value which is used to update the text

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

character. Text Input value


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