Interface WebviewViewsMain

interface WebviewViewsMain {
    $registerWebviewViewProvider(viewType, options): void;
    $setBadge(handle, badge): void;
    $setWebviewViewDescription(handle, value): void;
    $setWebviewViewTitle(handle, value): void;
    $show(handle, preserveFocus): void;
    $unregisterWebviewViewProvider(viewType): void;
}

Hierarchy

  • Disposable
    • WebviewViewsMain

Implemented by

Methods

  • Parameters

    • viewType: string
    • options: {
          retainContextWhenHidden?: boolean;
          serializeBuffersForPostMessage: boolean;
      }
      • Optional retainContextWhenHidden?: boolean
      • serializeBuffersForPostMessage: boolean

    Returns void