1
0
Fork 0
forked from 0x2620/oxjs

fix ticket #239 (Ox.Menu / Ox.MainMenu: setKeyboard / setItemKeyboard options are missing)

This commit is contained in:
rolux 2014-05-13 01:47:09 +02:00
commit 2fbc59e713
3 changed files with 30 additions and 7 deletions

View file

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