1
0
Fork 0
forked from 0x2620/oxjs

add mail svg; update form elements; change 'focusInput()' signature

This commit is contained in:
rlx 2011-12-18 09:29:35 +00:00
commit 4701245038
8 changed files with 104 additions and 18 deletions

View file

@ -53,6 +53,7 @@ Ox.ButtonGroup = function(options, self) {
size: self.options.size,
style: self.options.style,
title: button.title,
tooltip: button.tooltip,
type: self.options.type
})
.bindEvent('select', function() {
@ -84,6 +85,12 @@ Ox.ButtonGroup = function(options, self) {
}
};
that.value = function() {
return self.optionGroup.selected().map(function(i) {
return self.options.buttons[i].id;
});
};
return that;
};