Blockbench Reference Docs
Preparing search index...
generated/interface/form
InputForm
Class InputForm
Hierarchy
unknown
InputForm
Index
Constructors
constructor
Properties
form_
config
form_
data
max_
label_
width
node
uses_
wide_
inputs
uuid
Methods
build
Form
get
Result
set
Toggles
set
Values
update
update
Label
Width
update
Values
get
Default
Value
Constructors
constructor
new
InputForm
(
form_config
:
InputFormConfig
,
options
?:
{}
)
:
InputForm
Parameters
form_config
:
InputFormConfig
Optional
options
:
{}
Returns
InputForm
Properties
form_
config
form_config
:
InputFormConfig
form_
data
form_data
:
{
[
formElement
:
string
]:
FormElement
}
max_
label_
width
max_label_width
:
number
node
node
:
HTMLDivElement
uses_
wide_
inputs
uses_wide_inputs
:
boolean
uuid
uuid
:
string
Methods
build
Form
buildForm
()
:
void
Returns
void
get
Result
getResult
()
:
FormValues
Returns
FormValues
set
Toggles
setToggles
(
values
:
Record
<
string
,
boolean
>
,
update
?:
boolean
)
:
void
Parameters
values
:
Record
<
string
,
boolean
>
Optional
update
:
boolean
Returns
void
set
Values
setValues
(
values
:
FormValues
,
update
?:
boolean
)
:
void
Parameters
values
:
FormValues
Optional
update
:
boolean
Returns
void
update
update
(
form_result
:
FormValues
)
:
void
Parameters
form_result
:
FormValues
Returns
void
update
Label
Width
updateLabelWidth
(
ignore_hidden
?:
boolean
)
:
void
Parameters
Optional
ignore_hidden
:
boolean
Returns
void
update
Values
updateValues
(
context
?:
{
cause
?:
string
;
changed_keys
?:
string
[]
}
)
:
FormValues
Parameters
Optional
context
:
{
cause
?:
string
;
changed_keys
?:
string
[]
}
Returns
FormValues
Static
get
Default
Value
getDefaultValue
(
input_config
:
FormElementOptions
)
:
FormResultValue
Parameters
input_config
:
FormElementOptions
Returns
FormResultValue
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
form_
config
form_
data
max_
label_
width
node
uses_
wide_
inputs
uuid
Methods
build
Form
get
Result
set
Toggles
set
Values
update
update
Label
Width
update
Values
get
Default
Value
Blockbench Reference Docs
Loading...