This file contains hidden or 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
| function getRotationAngle(target) | |
| { | |
| const obj = window.getComputedStyle(target, null); | |
| const matrix = obj.getPropertyValue('-webkit-transform') || | |
| obj.getPropertyValue('-moz-transform') || | |
| obj.getPropertyValue('-ms-transform') || | |
| obj.getPropertyValue('-o-transform') || | |
| obj.getPropertyValue('transform'); | |
| let angle = 0; |