new module:InputBox(appInstance, isOnopt)
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
appInstance |
App | instance of App |
||
isOn |
Boolean |
<optional> |
false | the initial state of the inputbox ( |
Extends
- Box
Members
-
exportData
-
get data of this input box as a JSON-ready object
-
on
-
set the state of the inputbox to the corresponding value
-
on
-
get the state of the inputbox (
true
if on,false
if off)
Methods
-
onClick()
-
toggle the state of the inputbox
-
refreshState()
-
start a new simulation from the output connector