Blockbench Reference Docs
Preparing search index...
generated/interface/form
FormElement
Class FormElement
Hierarchy
unknown
FormElement
Index
Constructors
constructor
Properties
bar
condition
form
id
input_
toggle?
label_
width
options
types
Accessors
uses_
wide_
inputs
Methods
build
change
get
Default
get
Value
setup
set
Value
register
Type
Constructors
constructor
new
FormElement
(
id
:
string
,
options
:
FormElementOptions
,
form
:
InputForm
,
)
:
FormElement
Parameters
id
:
string
options
:
FormElementOptions
form
:
InputForm
Returns
FormElement
Properties
bar
bar
:
HTMLElement
condition
condition
:
any
form
form
:
InputForm
id
id
:
string
Optional
input_
toggle
input_toggle
?:
HTMLInputElement
label_
width
label_width
:
number
options
options
:
FormElementOptions
Static
types
types
:
Record
<
string
,
typeof
FormElement
>
Accessors
uses_
wide_
inputs
get
uses_wide_inputs
()
:
boolean
Returns
boolean
Methods
build
build
(
bar
:
HTMLDivElement
)
:
void
Parameters
bar
:
HTMLDivElement
Returns
void
change
change
()
:
void
Returns
void
get
Default
getDefault
()
:
any
Returns
any
get
Value
getValue
()
:
any
Returns
any
setup
setup
()
:
void
Returns
void
set
Value
setValue
(
value
:
any
)
:
void
Parameters
value
:
any
Returns
void
Static
register
Type
registerType
(
id
:
string
,
type_class
:
typeof
FormElement
)
:
void
Parameters
id
:
string
type_class
:
typeof
FormElement
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bar
condition
form
id
input_
toggle
label_
width
options
types
Accessors
uses_
wide_
inputs
Methods
build
change
get
Default
get
Value
setup
set
Value
register
Type
Blockbench Reference Docs
Loading...