Skip to main content

OverlayOptions

Electron APIs / overlay / OverlayOptions

Overlay configuration options for creating or modifying an overlay window.

Control over:

  • Input passthrough behavior.
  • Overlay window stacking behavior.
  • Keyboard input interception.

Example

const options: OverlayOptions = {
passthrough: "noPassThrough",
zOrder: "default",
ignoreKeyboardInput: false,
};

Extended by

Properties

PropertyTypeDescription
ignoreKeyboardInput?booleanControls whether the overlay intercepts keyboard input. true—the overlay won't intercept keyboard input. Default false
passthrough?PassthroughTypeControls how input is handled by the overlay window. Default 'noPassThrough' See PassthroughType.
zOrder?ZOrderTypeControls the z-order (stacking order) of the overlay window. Default 'default' See ZOrderType.