link to roles list from Menu doc

This commit is contained in:
Zeke Sikelianos 2017-03-30 11:08:12 -07:00
parent b24be19fac
commit d5bc8990fc

View file

@ -30,8 +30,8 @@ Returns `Menu` - The application menu, if set, or `null`, if not set.
* `action` String * `action` String
Sends the `action` to the first responder of application. This is used for Sends the `action` to the first responder of application. This is used for
emulating default Cocoa menu behaviors, usually you would just use the emulating default macOS menu behaviors. Usually you would just use the
`role` property of `MenuItem`. [`role`](menu-item.md#roles) property of a [`MenuItem`](menu-item.md).
See the [macOS Cocoa Event Handling Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW7) See the [macOS 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 macOS' native actions. for more information on macOS' native actions.