Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

  • SaveableSource
  • NavigatableWidget

Index

Constructors

Properties

_badge?: number
_badgeTooltip?: string
_contentOptions: WebviewContentOptions = {}
_modelRef: Reference<CustomEditorModel>
_moveHandler?: ((newResource: URI) => void)

Type declaration

    • (newResource: URI): void
    • Parameters

      • newResource: URI

      Returns void

_state: undefined | string
element: undefined | HTMLIFrameElement
environment: WebviewEnvironment
externalEndpoint: string
externalUriService: ExternalUriService
fileService: FileService
hideTimeout: any
html: string = ''
iconUrl: undefined | IconUrl
id: string
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> = ...
resource: URI
resourceCache: WebviewResourceCache
saveService: SaveResourceService
secondaryWindow: undefined | Window = undefined
sharedStyle: PluginSharedStyle
shell: ApplicationShell
themeDataProvider: WebviewThemeDataProvider
toDisposeOnIcon: DisposableCollection = ...
toHide: DisposableCollection = ...
transparentOverlay: HTMLElement
undoRedoService: UndoRedoService
viewColumn: ViewColumn
viewState: WebviewPanelViewState = ...
viewType: string
FACTORY_ID: string = 'plugin-custom-editor'

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 saveable(): Saveable
  • get state(): undefined | string

Methods

  • createMoveToUri(resourceUri: URI): undefined | URI
  • dispatchMouseEvent(type: string, data: MouseEvent): void
  • doHide(): void
  • doMove(target: URI): void
  • doSend(channel: string, data?: any): Promise<void>
  • doShow(): void
  • doUpdateContent(): void
  • forceHide(): void
  • getRedirect(url: string): Promise<undefined | string>
  • getResourceUri(): undefined | URI
  • 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
  • onMove(handler: ((newResource: URI) => Promise<void>)): void
  • openLink(link: URI): void
  • postMessage(channel: string, data?: any): void
  • preprocessHtml(value: string): string
  • redo(): void
  • reload(): void
  • save(options?: SaveOptions): Promise<void>
  • saveAs(source: URI, target: URI, options?: SaveOptions): Promise<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
  • undo(): void