Merge pull request #4713 from atom/mq-doc-actions

Link to OS X Cocoa Event Handling guide on actions
This commit is contained in:
Kevin Sawicki 2016-03-07 16:40:23 -08:00
commit 3f4455a79d

View file

@ -227,6 +227,9 @@ Sends the `action` to the first responder of application. This is used for
emulating default Cocoa menu behaviors, usually you would just use the
`role` property of `MenuItem`.
See the [OS X Cocoa Event Handling Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW7)
for more information on OS X's native actions.
### `Menu.buildFromTemplate(template)`
* `template` Array