forked from 0x2620/oxjs
document events
This commit is contained in:
parent
10281e3c8f
commit
d2e05200da
56 changed files with 277 additions and 32 deletions
|
|
@ -122,10 +122,16 @@ Ox.ButtonGroup = function(options, self) {
|
|||
}
|
||||
}
|
||||
|
||||
/*@
|
||||
disableButton <f> disableButton
|
||||
@*/
|
||||
that.disableButton = function(id) {
|
||||
getButtonById(id).options({disabled: true});
|
||||
};
|
||||
|
||||
/*@
|
||||
enableButton <f> enableButton
|
||||
@*/
|
||||
that.enableButton = function(id) {
|
||||
getButtonById(id).options({disabled: false});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue