forked from 0x2620/oxjs
video editor resolution toggle
This commit is contained in:
parent
6e0ff7158c
commit
87ba2a10ab
2 changed files with 20 additions and 5 deletions
|
|
@ -113,18 +113,30 @@ Ox.MenuButton = function(options, self) {
|
|||
}
|
||||
}
|
||||
|
||||
/*@
|
||||
checkItem <f>
|
||||
@*/
|
||||
that.checkItem = function(id) {
|
||||
self.$menu.checkItem(id);
|
||||
};
|
||||
|
||||
/*@
|
||||
disableItem <f>
|
||||
@*/
|
||||
that.disableItem = function(id) {
|
||||
self.$menu.getItem(id).options({disabled: true});
|
||||
};
|
||||
|
||||
/*@
|
||||
enableItem <f>
|
||||
@*/
|
||||
that.enableItem = function(id) {
|
||||
self.$menu.getItem(id).options({disabled: false});
|
||||
};
|
||||
|
||||
/*@
|
||||
remove <f>
|
||||
@*/
|
||||
self.superRemove = that.remove;
|
||||
that.remove = function() {
|
||||
self.$menu.remove();
|
||||
|
|
@ -133,4 +145,4 @@ Ox.MenuButton = function(options, self) {
|
|||
|
||||
return that;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue