slider_server: Slider module Server

Description Usage Arguments Value

View source: R/slider.R

Description

A slider module UI that can accept dynamic inputs on the server-side declaration

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
slider_server(
  input,
  output,
  session,
  label = "Select Transaction Weeks",
  min = 1,
  max = 52,
  value = c(1, 8),
  dragRange = 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

The label of the sliderInput function. Converted to reactive later for enabling encapsulation

min

The minimum of numbers that can be used by the sliderInput function.

max

The maximum of numbers that can be used by the sliderInput function.

value

The default value of the slider UI

dragRange

Logical value to determine whether or not the slider can drag the range

Value

Numeric value or scalar


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