Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#rotation").on('change', function(){
- let rotationValue = $("#rotation").val();
- document.getElementsByTagName('canvas')[0].style.transform = 'rotate(' + rotationValue + 'deg)';
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement