rk.JS.var-class | R Documentation |
This simple class is used for JavaScript generation and produced by
rk.JS.vars
. You shouldn't need to temper with this
type of class manually.
JS.var
Character string, name of the JavaScript variable.
XML.var
Character string, name of the XML variable.
prefix
Character string, an optional prefix for variable names.
modifiers
A list of modifiers to apply to the XML node property.
default
Logical, whether the default value (no special modifier) of the node should also be defined.
append.modifier
Logical, if a modifier is given, should that become part of the variable name?
join
Character string, if set is used to collapse multiple values into one string.
vars
A list of objects of class rk.JS.var.
getter
Character string, the JavaScript function which should be used to fetch the values from the plugin.
methods
Character vector of method calls to append to the getter function
(see rk.JS.method
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.