WebviewView

interface WebviewView(source)

A webview based view.

Online Documentation

Properties

Link copied to clipboard
abstract var badge: ViewBadge?

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

Link copied to clipboard
abstract var description: String?

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

Link copied to clipboard

Event fired when the visibility of the view changes.

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

Event fired when the view is disposed.

Link copied to clipboard
abstract var title: String?

View title displayed in the UI.

Link copied to clipboard
abstract val viewType: String

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

Link copied to clipboard
abstract val visible: Boolean

Tracks if the webview is currently visible.

Link copied to clipboard
abstract val webview: Webview

The underlying webview for the view.

Functions

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

Reveal the view in the UI.