Skip to main content

ZOrderType

Electron APIs / overlay / ZOrderType

type ZOrderType = "default" | "topMost" | "bottomMost";

Type of overlay window stacking behavior.

Used to control the z-order (stacking order) of the overlay window relative to other windows.

  • default—Bring to front the currently focused overlay window.
  • topMost—Set the overlay window to the top most position, above all other windows.
  • bottomMost—Set the overlay window to the bottom most position, below all other windows.