preventOverflow

abstract var preventOverflow: Any?(source)

Prevent the window from overflowing the working area (e.g. monitor size - taskbar size) on creation, which means the window size will be limited to monitor size - taskbar size

Can either be set to true or to a {@link PreventOverflowMargin} object to set an additional margin that should be considered to determine the working area (in this case the window size will be limited to monitor size - taskbar size - margin)

NOTE: The overflow check is only performed on window creation, resizes can still overflow

Platform-specific

  • iOS / Android: Unsupported.