Blockbench Reference Docs
Preparing search index...
custom/action
Toolbar
Class Toolbar
Hierarchy (
View Summary
)
Toolbar
_ToolToolbar
Index
Constructors
constructor
Properties
children
condition
condition_
cache
default_
children
id
label
label_
node
menu
name
narrow
no_
wrap
node
position
Lookup
postload
previously_
enabled
vertical
Methods
add
build
contextmenu
edit
Menu
remove
reset
save
to
Place
update
Constructors
constructor
new
Toolbar
(
id
:
string
,
data
:
ToolbarOptions
)
:
Toolbar
Parameters
id
:
string
data
:
ToolbarOptions
Returns
Toolbar
new
Toolbar
(
data
:
ToolbarOptions
)
:
Toolbar
Parameters
data
:
ToolbarOptions
Returns
Toolbar
Properties
children
children
:
(
string
|
BarItem
)
[]
condition
condition
:
any
condition_
cache
condition_cache
:
any
default_
children
default_children
:
(
string
|
BarItem
)
[]
id
id
:
string
label
label
:
boolean
label_
node
label_node
:
HTMLElement
menu
menu
:
any
name
name
:
string
narrow
narrow
:
boolean
no_
wrap
no_wrap
:
boolean
node
node
:
HTMLElement
position
Lookup
positionLookup
:
any
postload
postload
:
any
previously_
enabled
previously_enabled
:
any
vertical
vertical
:
boolean
Methods
add
add
(
action
:
any
,
position
?:
number
)
:
this
Parameters
action
:
any
Optional
position
:
number
Returns
this
build
build
(
data
:
any
,
force
:
any
)
:
this
Parameters
data
:
any
force
:
any
Returns
this
contextmenu
contextmenu
(
event
:
Event
)
:
void
Parameters
event
:
Event
Returns
void
edit
Menu
editMenu
()
:
this
Returns
this
remove
remove
(
action
:
any
)
:
this
Parameters
action
:
any
Returns
this
reset
reset
()
:
this
Returns
this
save
save
()
:
this
Returns
this
to
Place
toPlace
(
place
:
any
)
:
this
Parameters
place
:
any
Returns
this
update
update
()
:
this
Returns
this
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
children
condition
condition_
cache
default_
children
id
label
label_
node
menu
name
narrow
no_
wrap
node
position
Lookup
postload
previously_
enabled
vertical
Methods
add
build
contextmenu
edit
Menu
remove
reset
save
to
Place
update
Blockbench Reference Docs
Loading...