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
Родитель 7b881ebc23 f47851f1e7
Коммит 3f4455a79d
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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