prettySwitch: R6 Class employing shinyWidgets::prettySwitch.

prettySwitchR Documentation

R6 Class employing shinyWidgets::prettySwitch.

Description

An instance of this class is used in similar way to shinyWidgets::prettySwitch

Format

An R6::R6Class object.

Methods

Public methods


Method new()

Usage
prettySwitch$new(.label_)

Method ui_input()

Usage
prettySwitch$ui_input(
  .tag_ = "UI_input",
  .value_ = FALSE,
  .class_ = "flex-fill text-right"
)

Method ui_output()

Usage
prettySwitch$ui_output(.tag_ = "UI_output")

Method ui_render_output()

Usage
prettySwitch$ui_render_output(.tag_ = "UI_render_output")

Method server()

Usage
prettySwitch$server(input, output, session)

Method get_uiInId()

Usage
prettySwitch$get_uiInId()

Method get_uiOtId()

Usage
prettySwitch$get_uiOtId()

Method get_uiRdOtId()

Usage
prettySwitch$get_uiRdOtId()

Method clone()

The objects of this class are cloneable with this method.

Usage
prettySwitch$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


W-Mohammed/ShinyPSA documentation built on April 24, 2022, 6:57 p.m.