toolkit.HTMLContainerElement {shinylight}R Documentation

JavaScript class: A monkey-patched HTMLElement.

Description

A Container Element is an element for displaying a set of controls and their labels.

Properties

makeSubElement

function Gets an element in which a control and its label can be stored. You do not need to call this unless you have made your own custom control; it will be called by functions such as toolkit.paramText. Pass in the ID of the control (you will need the ID for the getData and setData calls).

getData

function Returns an object mapping contained controls (or nested containers) to their current values.

setData

function Sets the values of the contained controls. data is a mapping from the IDs of the contained controls to the data that should be set on them.

See Also

toolkit.stack

toolkit.banner

toolkit.optionsPage


[Package shinylight version 1.2 Index]