WebviewView

interface WebviewView(source)

A webview based view.

Online Documentation

Properties

Link copied to clipboard
abstract external var badge: ViewBadge?

The badge to display for this webview view. To remove the badge, set to undefined.

Link copied to clipboard
abstract external var description: String?

Human-readable string which is rendered less prominently in the title.

Link copied to clipboard
abstract external val onDidChangeVisibility: Event<Void>

Event fired when the visibility of the view changes.

Link copied to clipboard
abstract external val onDidDispose: Event<Void>

Event fired when the view is disposed.

Link copied to clipboard
abstract external var title: String?

View title displayed in the UI.

Link copied to clipboard
abstract external val viewType: String

Identifies the type of the webview view, such as 'hexEditor.dataView'.

Link copied to clipboard
abstract external val visible: Boolean

Tracks if the webview is currently visible.

Link copied to clipboard
abstract external val webview: Webview

The underlying webview for the view.

Functions

Link copied to clipboard
abstract external fun show(preserveFocus: Boolean = definedExternally)

Reveal the view in the UI.