riku
2024-11-07 5a678cce1b157411f20fbddfaed49c7bc8d9fba7
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,
};