View source: R/rk.XML.connect.R
rk.XML.connect | R Documentation |
If you define a XiMpLe.node
object as governor
which is not a <convert>
node
and not=FALSE
, the function will automatically append to its id
.
rk.XML.connect( governor, client, get = "state", set = "enabled", not = FALSE, reconcile = FALSE )
governor |
Either a character string (the |
client |
Either a character string (the |
get |
Character string, a valid modifier for the node property of |
set |
Character string, a valid modifier for the node property of |
not |
Logical, if |
reconcile |
Logical,
forces the |
An object of class XiMpLe.node
.
To connect to properties of embedded plugins, the validity check of the set
modifier needs to be skipped. You do this by providing an <external>
XiMpLe node instead,
whose ID is
then taken unvalidated. This can be useful in combination with rk.plug.comp
object provided as client
.
To get a list of the implemented modifiers in this package see modifiers
.
rk.XML.convert
,
rk.XML.external
,
rk.XML.logic
,
rk.XML.set
,
rk.XML.switch
,
modifiers
,
and the Introduction to Writing Plugins for RKWard
test.connect <- rk.XML.connect(governor="lgc_foobar", client="frame_bar") cat(pasteXML(test.connect))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.