js → javascript
This commit is contained in:
parent
e71280f31c
commit
cc2b95fac3
6 changed files with 8 additions and 8 deletions
|
@ -197,7 +197,7 @@ Sets when the tray's icon background becomes highlighted (in blue).
|
|||
by toggling between `'never'` and `'always'` modes when the window visibility
|
||||
changes.
|
||||
|
||||
```js
|
||||
```javascript
|
||||
const {BrowserWindow, Tray} = require('electron')
|
||||
|
||||
const win = new BrowserWindow({width: 800, height: 600})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue