Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/webview-views
WebviewViewsExtImpl
Class WebviewViewsExtImpl
Implements
WebviewViewsExt
Index
Constructors
constructor
Properties
view
Providers
webview
Views
Methods
$dispose
Webview
View
$on
Did
Change
Webview
View
Visibility
$resolve
Webview
View
get
Webview
View
register
Webview
View
Provider
Constructors
constructor
new
WebviewViewsExtImpl
(
rpc
:
RPCProtocol
,
webviewsExt
:
WebviewsExtImpl
,
)
:
WebviewViewsExtImpl
Parameters
rpc
:
RPCProtocol
webviewsExt
:
WebviewsExtImpl
Returns
WebviewViewsExtImpl
Properties
Protected
Readonly
view
Providers
viewProviders
:
Map
<
string
,
{
plugin
:
Plugin
;
provider
:
WebviewViewProvider
}
>
= ...
Protected
Readonly
webview
Views
webviewViews
:
Map
<
string
,
WebviewViewExtImpl
>
= ...
Methods
$dispose
Webview
View
$disposeWebviewView
(
handle
:
string
)
:
Promise
<
void
>
Parameters
handle
:
string
Returns
Promise
<
void
>
$on
Did
Change
Webview
View
Visibility
$onDidChangeWebviewViewVisibility
(
handle
:
string
,
visible
:
boolean
,
)
:
Promise
<
void
>
Parameters
handle
:
string
visible
:
boolean
Returns
Promise
<
void
>
$resolve
Webview
View
$resolveWebviewView
(
handle
:
string
,
viewType
:
string
,
title
:
undefined
|
string
,
state
:
any
,
cancellation
:
CancellationToken
,
)
:
Promise
<
void
>
Parameters
handle
:
string
viewType
:
string
title
:
undefined
|
string
state
:
any
eslint-disable-next-line @typescript-eslint/no-explicit-any
cancellation
:
CancellationToken
Returns
Promise
<
void
>
Protected
get
Webview
View
getWebviewView
(
handle
:
string
)
:
WebviewViewExtImpl
Parameters
handle
:
string
Returns
WebviewViewExtImpl
register
Webview
View
Provider
registerWebviewViewProvider
(
viewType
:
string
,
provider
:
WebviewViewProvider
,
plugin
:
Plugin
,
webviewOptions
?:
{
retainContextWhenHidden
?:
boolean
}
,
)
:
Disposable
Parameters
viewType
:
string
provider
:
WebviewViewProvider
plugin
:
Plugin
Optional
webviewOptions
:
{
retainContextWhenHidden
?:
boolean
}
Returns
Disposable
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
view
Providers
webview
Views
Methods
$dispose
Webview
View
$on
Did
Change
Webview
View
Visibility
$resolve
Webview
View
get
Webview
View
register
Webview
View
Provider
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
eslint-disable-next-line @typescript-eslint/no-explicit-any