ReadonlyactiveWhether the panel is active (focused by the user).
OptionaliconIcon for the panel shown in UI.
ReadonlyonFired when the panel's view state changes.
ReadonlyonFired 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.
ReadonlyoptionsContent settings for the webview panel.
Optional ReadonlyshowSettings to determine where webview panel will be reside
Title of the panel shown in UI.
Optional ReadonlyviewEditor position of the panel. This property is only set if the webview is in one of the editor view columns.
ReadonlyviewIdentifies the type of the webview panel, such as 'markdown.preview'.
ReadonlyvisibleWhether the panel is visible.
ReadonlywebviewWebview belonging to the panel.
Dispose of the webview panel.
This closes the panel if it showing and disposes of the resources owned by the webview.
Webview panels are also disposed when the user closes the webview panel. Both cases
fire the onDispose event.
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.
Optionalarea: WebviewPanelTargetAreatarget area where webview panel will be resided. Shows in the 'WebviewPanelTargetArea.Main' area if undefined.
OptionalviewColumn: ViewColumnView column to show the panel in. Shows in the current viewColumn if undefined.
OptionalpreserveFocus: 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.
OptionalviewColumn: ViewColumnView column to show the panel in. Shows in the current viewColumn if undefined.
OptionalpreserveFocus: booleanWhen true, the webview will not take focus.
A panel that contains a webview.