projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5096d78
)
Doc role defaults
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 22 Jun 2016 21:10:38 +0000
(14:10 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 22 Jun 2016 21:10:44 +0000
(14:10 -0700)
docs/api/menu-item.md
patch
|
blob
|
history
diff --git
a/docs/api/menu-item.md
b/docs/api/menu-item.md
index
0d05d81
..
3a9a565
100644
(file)
--- a/
docs/api/menu-item.md
+++ b/
docs/api/menu-item.md
@@
-39,6
+39,9
@@
It is best to specify `role` for any menu item that matches a standard role,
rather than trying to manually implement the behavior in a `click` function.
The built-in `role` behavior will give the best native experience.
+The `label` and `accelerator` are optional when using a `role` and will default
+to appropriate values for each platform.
+
The `role` property can have following values:
* `undo`