electron/docs/api/modernization/property-updates.md
Shelley Vohr 02710ef574 refactor: make templateImage a property on nativeImage (#18124)
* refactor: make templateImage a property on nativeImage

* Update docs/api/native-image.md

Co-Authored-By: codebytere <codebytere@github.com>

* fix nativeImage prototype deprecation

* update for new property name

* Update docs/api/native-image.md

Co-Authored-By: codebytere <codebytere@github.com>
2019-05-07 06:52:07 -07:00

1.3 KiB

Property Updates

The Electron team is currently undergoing an initiative to convert separate getter and setter functions in Electron to bespoke properties with get and set functionality. During this transition period, both the new properties and old getters and setters of these functions will work correctly and be documented.

Candidates

  • app module
    • dock
      • badge
  • autoUpdater module
    • feedUrl
  • BrowserWindow
    • fullscreen
    • simpleFullscreen
    • movable
    • resizable
    • maximizable
    • minimizable
    • fullscreenable
    • closable
    • alwaysOnTop
    • title
    • documentEdited
    • hasShadow
    • autohideMenuBar
    • menubarVisible
    • visibleOnAllWorkspaces
  • crashReporter module
    • uploadToServer
  • DownloadItem class
    • savePath
    • paused
  • Session module
    • preloads
  • SystemPreferences module
    • appLevelAppearance
  • webContents module
    • zoomFactor
    • zoomLevel
    • audioMuted
    • userAgent
    • frameRate
  • webFrame modules
    • zoomFactor
    • zoomLevel
    • audioMuted
  • <webview>
    • zoomFactor
    • zoomLevel
    • audioMuted

Converted Properties

  • app module
    • accessibilitySupport
    • applicationMenu
    • badgeCount
    • name
  • NativeImage
    • isMacTemplateImage