Electron v1.4.8 發布,JavaScript桌面應用開發庫

jopen 8年前發布 | 6K 次閱讀 Electron JavaScript

 

Electron 可以讓你使用純 JavaScript 調用豐富的原生 APIs 來創造桌面應用。你可以把它看作是專注于桌面應用而不是 web 服務器的,io.js 的一個變體。

 

更新日志

Bug 修復

  • The error thrown when a missing remote object is accessed now includes the id of the object and the name of the property being accessed or method being called. #8003
  • Fixed an issue where the window would restore to the incorrect size when minWidth was used.#8047
  • Fixed an issue where systemPreferences.getUserDefault would crash when requesting a value as an array or dictionary. #7993

API更改

  • The implementation of chrome.runtime.onMessage used by dev tools extensions now supports a response callback parameter. #7974
  • toggledevtools and reload are now supported menu item roles. #7981
  • Added a setLayoutZoomLevelLimits method to webFramewebContents, and <webview> that can be used to set the layout-based zoom level limits of a page. The setZoomLevelLimits API has been deprecated and renamed to setVisualZoomLeveLimits to control the pinch-to-zoom level.setZoomLevelLimits will be completely removed in Electron 2.0. #8041

macOS

  • shell.openExternal is now asynchronous if the final specified argument is a callback function.#7612
  • zoomToPageWidth option was added to the BrowserWindow constructor that controls how the window resizes when running the Window > Zoom menu item or when option-clicking the green stoplight toolbar button. #7776

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/56af657

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!