View source: R/rk.XML.valueselector.R
rk.XML.valueselector | R Documentation |
Create node "valueselector" for RKWard plugins
rk.XML.valueselector( label = NULL, options = list(label = c(val = NULL, chk = FALSE, i18n = NULL)), id.name = "auto", i18n = NULL )
label |
Character string, a text label for the value selection slot.
Must be set if |
options |
A named list with string values to choose from. The names of the list elements will become
labels of the options, |
id.name |
Character vector, unique ID for this element. |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.valueslot
,
rk.XML.values
,
rk.XML.option
,
and the Introduction to Writing Plugins for RKWard
test.valueselector <- rk.XML.valueselector("Select some values") cat(pasteXML(test.valueselector))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.