Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.vscode.webview-view-provider

Provider for creating WebviewView elements.

Provider for creating `WebviewView` elements.
raw docstring

resolve-webview-viewcljs

(resolve-webview-view webview-view-provider webview-view context token)

Resolves a webview view.

resolveWebviewView is called when a view first becomes visible. This may happen when the view is first loaded or when the user hides and then shows a view again.

Parameters:

  • webview-view: WebviewView - Webview view to restore. The provider should take ownership of this view. The provider must set the webview's .html and hook up all webview events it is interested in.
  • context: WebviewViewResolveContext<unknown> - Additional metadata about the view being resolved.
  • token: CancellationToken - Cancellation token indicating that the view being provided is no longer needed.

Returns: void | Thenable<void> - Optional thenable indicating that the view has been fully resolved.

Resolves a webview view.

`resolveWebviewView` is called when a view first becomes visible. This may happen when the view is
first loaded or when the user hides and then shows a view again.

**Parameters:**
- `webview-view`: `WebviewView` - Webview view to restore. The provider should take ownership of this view. The
provider must set the webview's `.html` and hook up all webview events it is interested in.
- `context`: `WebviewViewResolveContext<unknown>` - Additional metadata about the view being resolved.
- `token`: `CancellationToken` - Cancellation token indicating that the view being provided is no longer needed.

**Returns:** `void | Thenable<void>` - Optional thenable indicating that the view has been fully resolved.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close