| 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
functionGets 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 astoolkit.paramText. Pass in the ID of the control (you will need the ID for thegetDataandsetDatacalls).- getData
functionReturns an object mapping contained controls (or nested containers) to their current values.- setData
functionSets the values of the contained controls.datais a mapping from the IDs of the contained controls to the data that should be set on them.
See Also
[Package shinylight version 1.2 Index]