SakuraCSS | R Documentation |
A ...
classless::Classless
-> SakuraCSS
new()
Create a new sakura.css object
SakuraCSS$new()
A new SakuraCSS
object
createPage()
Create a page with sakura.css
SakuraCSS$createPage(..., title = NULL, theme = NULL, lang = NULL)
...
The contents of the document body
title
The browser window title (defaults to the host URL of the page)
theme
Theme to give to the UI
lang
ISO 639-1 language code for the HTML page
textInput()
Create an input control for entry of unstructured text values
SakuraCSS$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
SakuraCSS$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
SakuraCSS$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
SakuraCSS$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
SakuraCSS$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
SakuraCSS$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
SakuraCSS$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
sakuraInput()
sakura.css wraps a <p>
tag around classless form inputs to achieve the correct style
SakuraCSS$sakuraInput(input)
input
Some UI input
clone()
The objects of this class are cloneable with this method.
SakuraCSS$clone(deep = FALSE)
deep
Whether to make a deep clone.
sakuraPage
, listSakuraThemes
selectCLInput Convert Classless Input to sakura.css Input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.