checkbox

fun checkbox(name: String, value: String, label: String = "", description: String = "", display: ParameterDisplay = ParameterDisplay.NORMAL, readOnly: Boolean = false, checked: String? = null, unchecked: String? = null)

Adds a checkbox parameter

Parameters

name

parameter name

value

parameter value

label

label to use for the parameter in UI

description

parameter description

display

parameter display mode

readOnly

whether the parameter is read-only, by default false

checked

value of the parameter when checkbox is checked

unchecked

value of the parameter when checkbox is not checked