Interface WebviewViewsMain
Methods
$registerWebviewViewProvider
- $registerWebviewViewProvider(viewType, options): void
Parameters
- viewType: string
- options: {
retainContextWhenHidden?: boolean;
serializeBuffersForPostMessage: boolean;
}Optional
retainContextWhenHidden?: boolean
serializeBuffersForPostMessage: boolean
Returns void
$setBadge
- $setBadge(handle, badge): void
Returns void
$setWebviewViewDescription
- $setWebviewViewDescription(handle, value): void
Parameters
- handle: string
- value: undefined | string
Returns void
$setWebviewViewTitle
- $setWebviewViewTitle(handle, value): void
Parameters
- handle: string
- value: undefined | string
Returns void
$show
- $show(handle, preserveFocus): void
Parameters
- handle: string
- preserveFocus: boolean
Returns void
$unregisterWebviewViewProvider
- $unregisterWebviewViewProvider(viewType): void
Returns void