Optional
options: SubscriptionOptionsExperimental
Attaches the current view to a the given window identity. Identity must be the identity of a window in the same application. This detaches the view from its current window, and sets the view to be destroyed when its new window closes.
View.attach
{Identity}
Optional
options: CapturePageOptionsOptional
options: FindInPageOptionsExperimental
Gets the View's options.
View.getOptions
Optional
options: SubscriptionOptionsOptional
options: SubscriptionOptionsOptional
options: SubscriptionOptionsOptional
options: SubscriptionOptionsOptional
eventType: "blurred" | "certificate-selection-shown" | "crashed" | "did-change-theme-color" | "focused" | "navigation-rejected" | "url-changed" | "did-fail-load" | "did-finish-load" | "page-favicon-updated" | "page-title-updated" | "resource-load-failed" | "response-received" | "child-content-blocked" | "child-content-opened-in-browser" | "child-view-created" | "file-download-started" | "file-download-progress" | "file-download-completed" | "attached" | "created" | "destroyed" | "hidden" | "hotkey" | "shown" | "target-changed" | "found-in-page" | "certificate-error"Optional
options: SubscriptionOptionsExperimental
Triggers the before-unload handler for the View, if one is set. Returns true
if the handler is trying to prevent the View from unloading, and false
if it isn't.
Only enabled when setting enableBeforeUnload: true in your View options. If this option is not enabled it will always return false.
View.triggerBeforeUnload
Experimental
Updates the view's options.
View.updateOptions
Generated using TypeDoc
Classdesc
A View can be used to embed additional web content into a Window. It is like a child window, except it is positioned relative to its owning window. It has the ability to listen for View-specific events.
By default, a View will try to share the same renderer process as other Views owned by its parent Application. To change that behavior, see the processAffinity View~options view option.
A View's lifecycle is tied to its owning window and can be re-attached to a different window at any point during its lifecycle.
Alias
View
Hideconstructor