Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

  • StatefulWidget
  • ExtractableWidget
  • BadgeWidget

Index

Constructors

  • Parameters

    • Optional options: IOptions

    Returns WebviewWidget

Properties

_badge?: number
_badgeTooltip?: string
_contentOptions: WebviewContentOptions = {}
_state: undefined | string
element: undefined | HTMLIFrameElement
environment: WebviewEnvironment
externalEndpoint: string
externalUriService: ExternalUriService
fileService: FileService
hideTimeout: any
html: string = ''
iconUrl: undefined | IconUrl
isExtractable: boolean = true
keybindings: KeybindingRegistry
mouseTracker: ApplicationShellMouseTracker
onDidChangeBadgeEmitter: Emitter<void> = ...
onDidChangeBadgeTooltipEmitter: Emitter<void> = ...
onMessage: Event<any> = ...
onMessageEmitter: Emitter<any> = ...
openerService: OpenerService
options: WebviewPanelOptions = {}
outputManager: OutputChannelManager
pendingMessages: any[] = []
preferences: WebviewPreferences
ready: Deferred<void> = ...
resourceCache: WebviewResourceCache
secondaryWindow: undefined | Window = undefined
sharedStyle: PluginSharedStyle
themeDataProvider: WebviewThemeDataProvider
toDisposeOnIcon: DisposableCollection = ...
toHide: DisposableCollection = ...
transparentOverlay: HTMLElement
viewColumn: ViewColumn
viewState: WebviewPanelViewState = ...
viewType: string
FACTORY_ID: string = 'plugin-webview'
standardSupportedLinkSchemes: Set<string> = ...

Accessors

  • get badge(): undefined | number
  • set badge(badge: undefined | number): void
  • get badgeTooltip(): undefined | string
  • set badgeTooltip(badgeTooltip: undefined | string): void
  • get onDidChangeBadge(): Event<void>
  • get onDidChangeBadgeTooltip(): Event<void>
  • get state(): undefined | string

Methods

  • dispatchMouseEvent(type: string, data: MouseEvent): void
  • doHide(): void
  • doSend(channel: string, data?: any): Promise<void>
  • doShow(): void
  • doUpdateContent(): void
  • forceHide(): void
  • getRedirect(url: string): Promise<undefined | string>
  • init(): void
  • loadLocalhost(origin: string): Promise<void>
  • loadResource(requestPath: string): Promise<void>
  • normalizeRequestUri(requestPath: string): URI
  • onActivateRequest(msg: Message): void
  • onAfterAttach(msg: Message): void
  • onAfterHide(msg: Message): void
  • onBeforeAttach(msg: Message): void
  • onBeforeShow(msg: Message): void
  • openLink(link: URI): void
  • postMessage(channel: string, data?: any): void
  • preprocessHtml(value: string): string
  • reload(): void
  • sendMessage(data: any): void
  • setHTML(value: string): void
  • setIconUrl(iconUrl: undefined | IconUrl): void
  • style(): void
  • toEndpoint(pathname: string): string
  • toRemoteUrl(localUri: URI): Promise<string>
  • toSupportedLink(link: URI): undefined | URI
  • trace(kind: "in" | "out", channel: string, data?: any): void