dynamicClrButtonMod: Server module for 'ibiVizEdit' that dynamically switches...

Description Usage Arguments

View source: R/mod_dynamicClrButton.R

Description

Server module for ibiVizEdit that dynamically switches actionButton UIs based on color

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dynamicClrButtonMod(
  input,
  output,
  session,
  status_name = NULL,
  label = NULL,
  updated_label = NULL,
  default_display_name = NULL,
  button_name = "click_in",
  active_color = BUTTON_COLORS["standard"],
  inactive_color = BUTTON_COLORS["inactive"],
  updated_color = BUTTON_COLORS["warning"]
)

Arguments

input, output, session

internal shiny parameters

status_name

a value passed via internal processes of ibiVizEdit determining whether a given button is available for use.

label

the initial label presented on the button rendered in the ui

updated_label

the updated if there is a change in label that corresponds with a change in status

default_display_name

default name displayed in the ibiVizEdit ui

button_name

default set to "click_in" used to define the connection between the server and ui modules

active_color

the active color - defaults to settings defined in ibiVizEdit internals

inactive_color

the inactive color - defaults to settings defined in ibiVizEdit internals

updated_color

the updated color (when active) - defaults to settings defined in ibiVizEdit internals


dr-consulting/ibi_VizEdit documentation built on Jan. 1, 2021, 12:04 a.m.