Datalayer VS Code Extension - v0.0.4
    Preparing search index...

    Tracks all webviews associated with documents. Automatically handles cleanup when webviews are disposed.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    _webviews: Set<{ resource: string; webviewPanel: WebviewPanel }> = ...

    Methods

    • Adds a webview to the collection. Automatically sets up disposal cleanup when the webview is closed.

      Parameters

      • uri: Uri

        Document URI to associate with webview

      • webviewPanel: WebviewPanel

        The webview panel to track

      Returns void

    • Gets all webviews for a given URI.

      Parameters

      • uri: Uri

        Document URI to find webviews for

      Returns Iterable<WebviewPanel>

      Iterable of webview panels