forked from 0x2620/oxjs
add mail svg; update form elements; change 'focusInput()' signature
This commit is contained in:
parent
8f3be96828
commit
4701245038
8 changed files with 104 additions and 18 deletions
|
|
@ -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;
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue