Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
core
ReactWidget
Class ReactWidget
Abstract
Hierarchy
BaseWidget
ReactWidget
SidebarMenuWidget
TabBarToolbar
StatusBarImpl
TreeWidget
Index
Constructors
constructor
Properties
node
Root
on
Did
Change
Visibility
on
Did
Change
Visibility
Emitter
on
Did
Dispose
on
Did
Dispose
Emitter
on
Scroll
Up
on
Scroll
Up
Emitter
on
ScrollYReach
End
on
ScrollYReach
End
Emitter
scroll
Bar
scroll
Options
to
Dispose
to
Dispose
On
Detach
Methods
add
Clipboard
Listener
add
Event
Listener
add
Key
Listener
add
Update
Listener
clear
Flag
disable
Scroll
Bar
Focus
dispose
get
Scroll
Container
on
After
Attach
on
After
Detach
on
Before
Attach
on
Before
Detach
on
Close
Request
on
Update
Request
render
set
Flag
Constructors
constructor
new
React
Widget
(
options
?:
IOptions
)
:
ReactWidget
Parameters
Optional
options:
IOptions
Returns
ReactWidget
Properties
Protected
node
Root
node
Root
:
Root
Readonly
on
Did
Change
Visibility
on
Did
Change
Visibility
:
Event
<
boolean
>
= ...
Protected
Readonly
on
Did
Change
Visibility
Emitter
on
Did
Change
Visibility
Emitter
:
Emitter
<
boolean
>
= ...
Readonly
on
Did
Dispose
on
Did
Dispose
:
Event
<
void
>
= ...
Protected
Readonly
on
Did
Dispose
Emitter
on
Did
Dispose
Emitter
:
Emitter
<
void
>
= ...
Readonly
on
Scroll
Up
on
Scroll
Up
:
Event
<
void
>
= ...
Protected
Readonly
on
Scroll
Up
Emitter
on
Scroll
Up
Emitter
:
Emitter
<
void
>
= ...
Readonly
on
ScrollYReach
End
on
ScrollYReach
End
:
Event
<
void
>
= ...
Protected
Readonly
on
ScrollYReach
End
Emitter
on
ScrollYReach
End
Emitter
:
Emitter
<
void
>
= ...
Protected
Optional
scroll
Bar
scroll
Bar
?:
PerfectScrollbar
Protected
Optional
scroll
Options
scroll
Options
?:
Options
Protected
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Protected
Readonly
to
Dispose
On
Detach
to
Dispose
On
Detach
:
DisposableCollection
= ...
Methods
Protected
add
Clipboard
Listener
add
Clipboard
Listener
<
K
>
(
element
:
HTMLElement
, type
:
K
, listener
:
EventListenerOrEventListenerObject
<
K
>
)
:
void
Type Parameters
K
extends
"copy"
|
"cut"
|
"paste"
Parameters
element:
HTMLElement
type:
K
listener:
EventListenerOrEventListenerObject
<
K
>
Returns
void
Protected
add
Event
Listener
add
Event
Listener
<
K
>
(
element
:
HTMLElement
, type
:
K
, listener
:
EventListenerOrEventListenerObject
<
K
>
, useCapture
?:
boolean
)
:
void
Type Parameters
K
extends
keyof
HTMLElementEventMap
Parameters
element:
HTMLElement
type:
K
listener:
EventListenerOrEventListenerObject
<
K
>
Optional
useCapture:
boolean
Returns
void
Protected
add
Key
Listener
add
Key
Listener
<
K
>
(
element
:
HTMLElement
, keysOrKeyCodes
:
KeyCode
.
Predicate
|
KeysOrKeyCodes
, action
:
(
(
event
:
KeyboardEvent
)
=>
boolean
|
void
|
Object
)
,
...
additionalEventTypes
:
K
[]
)
:
void
Type Parameters
K
extends
keyof
HTMLElementEventMap
Parameters
element:
HTMLElement
keysOrKeyCodes:
KeyCode
.
Predicate
|
KeysOrKeyCodes
action:
(
(
event
:
KeyboardEvent
)
=>
boolean
|
void
|
Object
)
(
event
:
KeyboardEvent
)
:
boolean
|
void
|
Object
Parameters
event:
KeyboardEvent
Returns
boolean
|
void
|
Object
Rest
...
additionalEventTypes:
K
[]
Returns
void
Protected
add
Update
Listener
add
Update
Listener
<
K
>
(
element
:
HTMLElement
, type
:
K
, useCapture
?:
boolean
)
:
void
Type Parameters
K
extends
keyof
HTMLElementEventMap
Parameters
element:
HTMLElement
type:
K
Optional
useCapture:
boolean
Returns
void
clear
Flag
clear
Flag
(
flag
:
Flag
)
:
void
Parameters
flag:
Flag
Returns
void
Protected
disable
Scroll
Bar
Focus
disable
Scroll
Bar
Focus
(
scrollContainer
:
HTMLElement
)
:
void
Parameters
scrollContainer:
HTMLElement
Returns
void
dispose
dispose
(
)
:
void
Returns
void
Protected
get
Scroll
Container
get
Scroll
Container
(
)
:
MaybePromise
<
HTMLElement
>
Returns
MaybePromise
<
HTMLElement
>
Protected
on
After
Attach
on
After
Attach
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
on
After
Detach
on
After
Detach
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
on
Before
Attach
on
Before
Attach
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
on
Before
Detach
on
Before
Detach
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
on
Close
Request
on
Close
Request
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
on
Update
Request
on
Update
Request
(
msg
:
Message
)
:
void
Parameters
msg:
Message
Returns
void
Protected
Abstract
render
render
(
)
:
ReactNode
Render the React widget in the DOM.
If the widget has been previously rendered, any subsequent calls will perform an update and only change the DOM if absolutely necessary.
Returns
ReactNode
set
Flag
set
Flag
(
flag
:
Flag
)
:
void
Parameters
flag:
Flag
Returns
void
Modules
bulk-
edit
callhierarchy
console
core
Application
Error
Application
Shell
Application
Shell
Layout
Migration
Error
Application
Shell
Mouse
Tracker
Array
Utils
Badge
Widget
Binary
Buffer
Readable
Binary
Buffer
Readable
Buffered
Stream
Binary
Buffer
Readable
Stream
Binary
Buffer
Writeable
Stream
Bindable
CSSIcon
Cancellation
Token
Color
Command
Command
Menu
Node
Common
Commands
Common
Menus
Composite
Tree
Element
Composite
Tree
Element
Node
Composite
Tree
Node
Compound
Menu
Node
Console
Logger
Context
Key
Decorated
Tree
Node
Decoration
Style
Default
Json
Schema
Contribution
Description
Widget
Dialog
Dialog
Error
Diff
Uris
Disposable
Disposable
Group
Dynamic
Toolbar
Widget
Electron
Commands
Electron
Main
Process
Argv
Electron
Menus
Electron
Messaging
Service
Electron
Text
Input
Context
Menu
Endpoint
Event
Event
Listener
Object
Expandable
Tree
Node
Extractable
Widget
File
Uri
Focusable
Tree
Selection
Frontend
Application
Preference
Config
Fuzzy
Search
Hover
Position
IPCEntry
Point
Iterators
Key
Key
Code
Key
Modifier
Key
Sequence
Keybinding
Keybinding
Contexts
Keybinding
Registry
Keybinding
Scope
Keyboard
Commands
Keys
Or
Key
Codes
Label
Icon
Localization
Log
Level
Markdown
String
Menu
Action
Menu
Toolbar
Item
Messaging
Contribution
Messaging
Service
Mock
Tree
Model
Navigatable
Navigatable
Widget
Navigatable
Widget
Options
OS
On
Will
Stop
Action
Override
Preference
Name
Path
Preference
Data
Property
Preference
Provider
Data
Change
Preference
Schema
Preference
Schema
Properties
Preference
Scope
Prioritizeable
Progress
Message
Quick
Input
Button
Quick
Pick
Item
Quick
Pick
Separator
Raw
Keybinding
Readable
Resource
Resource
Error
Saveable
Saveable
Widget
Scrollable
Tab
Bar
Search
Box
Search
Box
Debounce
Options
Search
Box
Props
Selectable
Tree
Node
Selection
Command
Handler
Severity
Shell
Layout
Restorer
Side
Panel
Special
Cases
Stateful
Widget
Styles
Tab
Bar
Delegator
Tab
Bar
Toolbar
Tab
Bar
Toolbar
Item
Text
Document
Content
Change
Delta
Theia
Dock
Panel
Theia
RendererAPI
Tree
Element
Node
Tree
Iterator
Tree
Model
Impl
Tree
Node
Tree
Selection
Tree
Selection
Service
Impl
Tree
Source
Node
Tree
Widget
Tree
Widget
Selection
URIIcon
Reference
Unsafe
Widget
Utilities
Uri
Aware
Command
Handler
Uri
Selection
View
Container
View
Container
Layout
View
Container
Part
Wait
Until
Event
Widget
Decoration
Window
Commands
Zoom
Level
nls
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
React
Widget
constructor
node
Root
on
Did
Change
Visibility
on
Did
Change
Visibility
Emitter
on
Did
Dispose
on
Did
Dispose
Emitter
on
Scroll
Up
on
Scroll
Up
Emitter
on
ScrollYReach
End
on
ScrollYReach
End
Emitter
scroll
Bar
scroll
Options
to
Dispose
to
Dispose
On
Detach
add
Clipboard
Listener
add
Event
Listener
add
Key
Listener
add
Update
Listener
clear
Flag
disable
Scroll
Bar
Focus
dispose
get
Scroll
Container
on
After
Attach
on
After
Detach
on
Before
Attach
on
Before
Detach
on
Close
Request
on
Update
Request
render
set
Flag
Render the React widget in the DOM.