Classless | R Documentation |
XxX
new()
Create a new Classless object
Classless$new(framework)
framework
Name of the framework
A new Classless
object
getFramework()
Get the name of the selected classless framework
Classless$getFramework()
The name of the framework
createPage()
Method required to create a UI page with the required framework
By default this method is not available and must be created in the extended R6 class
Classless$createPage(...)
...
Ignored
addUI()
Set UI Code
Classless$addUI(ui)
ui
UI code
getUI()
Get UI code
Classless$getUI()
addServer()
Set server function
Classless$addServer(fun)
fun
Server function
getServer()
Get server function
Classless$getServer()
runApp()
Run shiny application
Classless$runApp(...)
...
Arguments passed to shinyApp
runExample()
Run an example application, showing off components available in the classless framework
See runClasslessExample
for more details
Classless$runExample(...)
...
Arguments to passed to shinyApp
A shiny application with example components
textInput()
Create an input control for entry of unstructured text values
Classless$textInput(input_id, label, value = "", placeholder = "")
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
placeholder
A character string giving the user a hint as to what can be entered into the control
A text input control that can be added to a UI definition
passwordInput()
Create an password control for entry of passwords
Classless$passwordInput(input_id, label, value = "", placeholder = "")
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
placeholder
A character string giving the user a hint as to what can be entered into the control
A password input control that can be added to a UI definition
textAreaInput()
Create a textarea input control for entry of unstructured text values
Classless$textAreaInput(input_id, label, value = "", placeholder = "")
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
placeholder
A character string giving the user a hint as to what can be entered into the control
A textarea input control that can be added to a UI definition
numericInput()
Create a numeric input control for entry of unstructured text values
Classless$numericInput( input_id, label, value = "", min = NULL, max = NULL, placeholder = "" )
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
min
Minimum valid value
max
Maximum valid value
placeholder
A character string giving the user a hint as to what can be entered into the control
A numeric input control that can be added to a UI definition
dateInput()
Create a date input control for entry of unstructured text values
Classless$dateInput( input_id, label, value = "", min = NULL, max = NULL, placeholder = "" )
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
min
Minimum valid value
max
Maximum valid value
placeholder
A character string giving the user a hint as to what can be entered into the control
A date input control that can be added to a UI definition
checkboxInput()
Create a checkbox that can be used to specify logical values
Classless$checkboxInput(input_id, label, value = FALSE)
input_id
The input
slot that will be used to access the value.
label
Display label for the control
value
Initial value
A checkbox control that can be added to a UI definition
selectInput()
Create a select list that can be used to choose a single or multiple items from a list of values
Classless$selectInput( input_id, label, choices, selected = NULL, multiple = FALSE )
input_id
The input
slot that will be used to access the value.
label
Display label for the control
choices
List of values to select from
selected
The initially selected value (or multiple values if multiple = TRUE
).
multiple
Is selection of multiple items allowed?
A select list control that can be added to a UI definition
actionButton()
Creates an action button whose value is initially zero, and increments by one each time it is pressed.
Classless$actionButton(input_id, label, ...)
input_id
The input
slot that will be used to access the value.
label
Display label for the control
...
Named attributes to be applied to the button or link.
Abutton control that can be added to a UI definition
clone()
The objects of this class are cloneable with this method.
Classless$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.