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