From: Sonny Piers Date: Thu, 11 Dec 2014 11:28:01 +0000 (+0100) Subject: Update tray.md X-Git-Tag: v0.20.0~5^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5437470b4e97ef5f6ea4a643dd8d7090139e4e77;p=electron.git Update tray.md checked seems to be the correct property --- diff --git a/docs/api/tray.md b/docs/api/tray.md index 66877689..d18b3b8f 100644 --- a/docs/api/tray.md +++ b/docs/api/tray.md @@ -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.');