1
0
Fork 0
forked from 0x2620/oxjs

Ox.Range: add 'disabled' option; Ox.Label: support changing 'disabled' option

This commit is contained in:
rlx 2018-01-21 09:23:18 +01:00
commit b158450d17
2 changed files with 17 additions and 0 deletions

View file

@ -21,6 +21,11 @@ Ox.Label = function(options, self) {
})
.options(options || {})
.update({
disabled: function() {
that[
self.options.disabled ? 'addClass' : 'removeClass'
]('OxDisabled');
},
title: function() {
that.html(self.options.title);
},