rk.JS.var-class: S4 Class rk.JS.var

rk.JS.var-classR Documentation

S4 Class rk.JS.var

Description

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.

Slots

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).


rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.