riku
2024-11-14 2a04ae9a602c88c1c8a16da154c3a51075e88d86
1
2
3
4
5
6
7
8
9
var getStyles = function (top, zIndex) {
  var topStyle = top ? 'top:' + top + 'px;' : '';
  var zIndexStyle = zIndex ? 'z-index:' + zIndex + ';' : '';
  return topStyle + zIndexStyle;
};
 
module.exports = {
  getStyles: getStyles,
};