Class: ViewOverlay

ViewOverlay

Api client allowing an empty electron BrowserView to be rendered in the current window with the specified bounds.

Please note, only one view based overlay can be rendered at a time per runtime.

Constructor

new ViewOverlay()

Methods

detachOverlay()

Removes the overlay from the current window.

renderOverlay(options)

Renders the overlay at the specified position relative to the calling window.

Parameters:
Name Type Description
options

Bounds and background color to display in the overlay.