Blockbench Reference Docs
Preparing search index...
generated/interface/dialog
DialogSidebar
Class DialogSidebar
Index
Constructors
constructor
Properties
actions
dialog
node
open
page
page_
menu
pages
Methods
build
on
Page
Switch?
set
Page
toggle
Constructors
constructor
new
DialogSidebar
(
options
:
DialogSidebarOptions
,
dialog
:
Dialog
)
:
DialogSidebar
Parameters
options
:
DialogSidebarOptions
dialog
:
Dialog
Returns
DialogSidebar
Properties
actions
actions
:
(
string
|
Action
|
ActionInterface
)
[]
dialog
dialog
:
Dialog
node
node
:
HTMLDivElement
open
open
:
boolean
page
page
:
string
page_
menu
page_menu
:
Record
<
string
,
HTMLLIElement
>
pages
pages
:
{
[
key
:
string
]:
|
string
|
MenuSeparator
|
{
color
?:
string
;
icon
:
string
;
label
:
string
}
;
}
Methods
build
build
()
:
HTMLDivElement
Returns
HTMLDivElement
Optional
on
Page
Switch
onPageSwitch
?
(
page
:
string
)
:
void
Parameters
page
:
string
Returns
void
set
Page
setPage
(
page
:
string
)
:
void
Parameters
page
:
string
Returns
void
toggle
toggle
(
state
?:
boolean
)
:
void
Parameters
Optional
state
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
actions
dialog
node
open
page
page_
menu
pages
Methods
build
on
Page
Switch
set
Page
toggle
Blockbench Reference Docs
Loading...