rk.JS.method | R Documentation |
Combines argument values into a JS method to append to an object call.
rk.JS.method(name, values = NULL, suffix = NULL, object = NULL, var = NULL)
name |
Character string, name of the mthod to call on the JS object. |
values |
Character vector, argument values for the method. |
suffix |
Character string, will be appended to the foll call as-is. |
object |
Either a character string (name of the JS object), a XiMpLe node (whose
ID will be used), or an object of class |
var |
Character string, name of a JS variable to define. This will also append ";" at the end of the generated string. |
A character string.
rk.JS.method("split", values="[[", suffix="[0]")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.