ButtonGroup: add class per style

This commit is contained in:
rolux 2014-01-05 15:30:46 +05:30
parent 5341dfeba5
commit 1c281889ff

View file

@ -47,6 +47,7 @@ Ox.ButtonGroup = function(options, self) {
})
.addClass(
'OxButtonGroup'
+ (self.options.style != 'default' ? ' Ox' + Ox.toTitleCase(self.options.style) : '')
+ (self.options.overlap != 'none' ? ' OxOverlap' + Ox.toTitleCase(self.options.overlap) : '')
);