Readonly
activeWhether the panel is active (focused by the user).
Optional
iconIcon for the panel shown in UI.
Readonly
onFired when the panel's view state changes.
Readonly
onFired when the panel is disposed.
This may be because the user closed the panel or because .dispose()
was
called on it.
Trying to use the panel after it has been disposed throws an exception.
Readonly
optionsContent settings for the webview panel.
Optional
Readonly
showSettings to determine where webview panel will be reside
Title of the panel shown in UI.
Optional
Readonly
viewEditor position of the panel. This property is only set if the webview is in one of the editor view columns.
Readonly
viewIdentifies the type of the webview panel, such as 'markdown.preview'
.
Readonly
visibleWhether the panel is visible.
Readonly
webviewWebview belonging to the panel.
Show the webview panel according to a given options.
A webview panel may only show in a single column at a time. If it is already showing, this method moves it to a new column.
Optional
area: WebviewPanelTargetAreatarget area where webview panel will be resided. Shows in the 'WebviewPanelTargetArea.Main' area if undefined.
Optional
viewColumn: ViewColumnView column to show the panel in. Shows in the current viewColumn
if undefined.
Optional
preserveFocus: booleanWhen true
, the webview will not take focus.
Show the webview panel in a given column.
A webview panel may only show in a single column at a time. If it is already showing, this method moves it to a new column.
Optional
viewColumn: ViewColumnView column to show the panel in. Shows in the current viewColumn
if undefined.
Optional
preserveFocus: booleanWhen true
, the webview will not take focus.
A panel that contains a webview.