module.exports = {
getDisabledClass: function(disabled, type) {
var className = '';
if (disabled && type != 'white' && type != 'gray') {
className = type == 'gradual' ? 'btn-gradual-disabled' : 'tui-dark-disabled';
}
return className;
},
getShapeClass: function(shape, plain) {
var className = '';
if (shape == 'circle') {
className = plain ? 'tui-outline-fillet' : 'tui-fillet';
}
return className;
},
getHoverClass: function(disabled, type, plain) {
var className = '';
if (!disabled) {
className = plain ? 'tui-outline-hover' : ('tui-' + (type || 'gradual') + '-hover');
}
return className;
}
}