switchInput()
switchInput(name
, value
, onValueChanged
): InputBase
<boolean
>
Parameters
Parameter | Type | Default value |
---|
name | string | undefined |
value | boolean | undefined |
onValueChanged | null | Function | null |
Returns
InputBase
<boolean
>
Deprecated
The method will be removed soon. Use input.toggle instead
Source
ui.ts:1020