🍎 Add 'isDarkModeEnabled' to app api

This commit is contained in:
Daniel Pham 2016-02-19 12:40:41 -05:00
parent 5839d7dcd5
commit eaac67ac60
4 changed files with 13 additions and 0 deletions

View file

@ -461,6 +461,10 @@ if (browserOptions.transparent) {
}
```
### `app.isDarkModeEnabled()` _OS X_
This method returns `true` if Dark Mode is enabled, and `false` otherwise.
### `app.commandLine.appendSwitch(switch[, value])`
Append a switch (with optional `value`) to Chromium's command line.