mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Update tray.md
checked seems to be the correct property
This commit is contained in:
@@ -14,7 +14,7 @@ app.on('ready', function(){
|
||||
var contextMenu = Menu.buildFromTemplate([
|
||||
{ label: 'Item1', type: 'radio' },
|
||||
{ label: 'Item2', type: 'radio' },
|
||||
{ label: 'Item3', type: 'radio', clicked: true },
|
||||
{ label: 'Item3', type: 'radio', checked: true },
|
||||
{ label: 'Item4', type: 'radio' },
|
||||
]);
|
||||
appIcon.setToolTip('This is my application.');
|
||||
|
||||
Reference in New Issue
Block a user