10 lines
262 B
XML
10 lines
262 B
XML
var getStyles = function (top, zIndex, customStyle) {
|
|
var topStyle = top ? 'top:' + top + 'px;' : '';
|
|
var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : '';
|
|
return topStyle + zIndexStyle + customStyle;
|
|
};
|
|
|
|
module.exports = {
|
|
getStyles: getStyles,
|
|
};
|