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