Header menu logo fable-electron-docs-api

WebviewTag Module

Types and nested modules

Type/Module Description

AdjustSelection

ContextMenu

DownloadURL

FindInPage

FoundInPage

LoadURL

Print

PrintToPDF

IOnConsoleMessage

Fired when the guest window logs a console message.The following example code forwards all log messages to the embedder's console without regard for log level or other properties.

IOnDevtoolsSearchQuery

Emitted when 'Search' is selected for text in its context menu.

IOnDidFailLoad

This event is like did-finish-load, but fired when the load failed or was cancelled, e.g. window.stop() is invoked.

IOnDidFrameNavigate

Emitted when any frame navigation is done.This event is not emitted for in-page navigations, such as clicking anchor links or updating the window.location.hash. Use did-navigate-in-page event for this purpose.

IOnDidNavigateInPage

Emitted when an in-page navigation happened.When in-page navigation happens, the page URL changes but does not cause navigation outside of the page. Examples of this occurring are when anchor links are clicked or when the DOM hashchange event is triggered.

IOnDidRedirectNavigation

Emitted after a server side redirect occurs during navigation. For example a 302 redirect.

IOnDidStartNavigation

Emitted when any frame (including main) starts navigating. isInPlace will be true for in-page navigations.

IOnIpcMessage

Fired when the guest page has sent an asynchronous message to embedder page.With sendToHost method and ipc-message event you can communicate between guest page and embedder page:

IOnLoadCommit

Fired when a load has committed. This includes navigation within the current document as well as subframe document-level loads, but does not include asynchronous resource loads.

IOnPageTitleUpdated

Fired when page title is set during navigation. explicitSet is false when title is synthesized from file url.

IOnWillFrameNavigate

Emitted when a user or the page wants to start navigation anywhere in the or any frames embedded within. It can happen when the window.location object is changed or a user clicks a link in the page.This event will not emit when the navigation is started programmatically with APIs like .loadURL and .back.It is also not emitted during in-page navigation, such as clicking anchor links or updating the window.location.hash. Use did-navigate-in-page event for this purpose.Calling event.preventDefault() does NOT have any effect.

Type something to start searching.