forked from 0x2620/oxjs
fix ticket #239 (Ox.Menu / Ox.MainMenu: setKeyboard / setItemKeyboard options are missing)
This commit is contained in:
parent
56468a9208
commit
2fbc59e713
3 changed files with 30 additions and 7 deletions
|
|
@ -255,6 +255,12 @@ Ox.MainMenu = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.setItemKeyboard = function(id, keyboard) {
|
||||
var item = that.getItem(id);
|
||||
item && item.options({keyboard: keyboard});
|
||||
return that;
|
||||
};
|
||||
|
||||
/*@
|
||||
setItemTitle <f> setItemTitle
|
||||
(id, title) -> <o> set item title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue