toolkit.paramBoolean {shinylight}R Documentation

JavaScript function: Returns a checkbox input Toolkit Control.

Description

A control for a boolean value rendered as a checkbox.

Arguments

id

string when getData or setData is called on the container, the value at 'id' refers to this selector. The HTML id is set to 'param-' + id.

container

toolkit.HTMLContainerElement [optional] Where to put the control.

translations

object Optional mapping: translations.id is the name of the control to be displayed and translations.help is help text to be displayed if the user hovers over the label

initial

string Optional initial value for the control

callback

function Optional function to be called whenever the input value changes

Value

Checkbox input control.


[Package shinylight version 1.2 Index]