John Wong
Results
1
comments of
John Wong
Code for zoom In: newScale = scale + 0.1; var element = document.getElementsByClassName('react-transform-component'); var style = window.getComputedStyle(element[0]); var matrix = new WebKitCSSMatrix(style.transform); var ratio = (newScale - scale) / scale...