riku
2024-08-13 1a0e4972f80278bfa9e53283374b745b6c968341
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,
};