-
-
Save PavelGonzales/439ef7758d7fc5a5512f16c292d43a59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imagesArray.forEach(image => { | |
image.image.style.width = `${(rowHeight * image.aspect) * 100 / rowWidth}%`; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment