Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
notebook
NotebookMainToolbar
Class NotebookMainToolbar
Hierarchy
Component
<
NotebookMainToolbarProps
,
NotebookMainToolbarState
>
NotebookMainToolbar
Index
Constructors
constructor
Properties
gap
Element
last
Gap
Element
Width
native
Submenus
resize
Observer
to
Dispose
MIN_
FREE_
AREA
Methods
calculate
Items
To
Hide
calculate
Number
Of
Hidden
Items
component
Did
Mount
component
Did
Update
component
Will
Unmount
gap
Element
Changed
get
Additional
Classes
get
All
Context
Keys
get
Menu
Items
render
render
Context
Menu
render
Menu
Item
Constructors
constructor
new
Notebook
Main
Toolbar
(
props
)
:
NotebookMainToolbar
Parameters
props
:
NotebookMainToolbarProps
Returns
NotebookMainToolbar
Properties
Protected
gap
Element
gap
Element
:
undefined
|
HTMLDivElement
Protected
last
Gap
Element
Width
last
Gap
Element
Width
:
number
= 0
Protected
native
Submenus
native
Submenus
:
string
[]
= ...
Protected
resize
Observer
resize
Observer
:
ResizeObserver
= ...
Protected
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Static
Readonly
MIN_
FREE_
AREA
MIN_
FREE_
AREA
:
10
= 10
Methods
Protected
calculate
Items
To
Hide
calculate
Items
To
Hide
(
)
:
void
Returns
void
Protected
calculate
Number
Of
Hidden
Items
calculate
Number
Of
Hidden
Items
(
allMenuItems
)
:
number
Parameters
allMenuItems
:
readonly
MenuNode
[]
Returns
number
component
Did
Mount
component
Did
Mount
(
)
:
void
Returns
void
component
Did
Update
component
Did
Update
(
)
:
void
Returns
void
component
Will
Unmount
component
Will
Unmount
(
)
:
void
Returns
void
Protected
gap
Element
Changed
gap
Element
Changed
(
element
)
:
void
Parameters
element
:
null
|
HTMLDivElement
Returns
void
Protected
get
Additional
Classes
get
Additional
Classes
(
item
)
:
string
Parameters
item
:
MenuNode
Returns
string
Protected
get
All
Context
Keys
get
All
Context
Keys
(
menus
,
keySet
)
:
void
Parameters
menus
:
readonly
MenuNode
[]
keySet
:
Set
<
string
>
Returns
void
Protected
get
Menu
Items
get
Menu
Items
(
)
:
readonly
MenuNode
[]
Returns
readonly
MenuNode
[]
render
render
(
)
:
ReactNode
Returns
ReactNode
Protected
render
Context
Menu
render
Context
Menu
(
event
,
menuItems
)
:
void
Parameters
event
:
MouseEvent
menuItems
:
readonly
MenuNode
[]
Returns
void
Protected
render
Menu
Item
render
Menu
Item
(
item
,
submenu
?
)
:
ReactNode
Parameters
item
:
MenuNode
Optional
submenu
:
string
Returns
ReactNode
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
gap
Element
last
Gap
Element
Width
native
Submenus
resize
Observer
to
Dispose
MIN_
FREE_
AREA
calculate
Items
To
Hide
calculate
Number
Of
Hidden
Items
component
Did
Mount
component
Did
Update
component
Will
Unmount
gap
Element
Changed
get
Additional
Classes
get
All
Context
Keys
get
Menu
Items
render
render
Context
Menu
render
Menu
Item
Theia TypeDoc
Loading...