Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 840 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 840 Bytes

webview

A modified version of webview for Neutralinojs.

Modifications

  • Window event handlers via webview.setEventHandler(windowStateChange);.
  • Allow sending process exit code with the terminate class method.
  • Prevent closing window by default, and let windowStateChange handler close the window explicitly.
  • Automatically start dev tools on Windows (Chromium) if debug == true.
  • Disable dev tools and inspect element context menu item on Windows if debug == false.
  • Extend set_size() method to accept minWidth, minHeight, maxWidth, maxHeight, and resizable.
  • Integrate neutralinojs/tray
  • Apply dark/light themese from system preferences on Windows.
  • Supports custom user agent strings via the extend_user_agent method.