eugenii / jqueryrotate

Automatically exported from code.google.com/p/jqueryrotate
1 stars 0 forks source link

Callback not working! #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.below code not triggering the alert inside the callback
2. Is there anyway to get the new image dimension, i mean after transform 
effect, i like to get the width and height of the image.

            $("#image").rotate({
        'angle':angle,
             callback: function (){
            alert("test");
            }
        });

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
VERSION: 2.3 LAST UPDATE: 11.07.2013 with  OS WIN 8

Please provide any additional information below.

Original issue reported on code.google.com by kathirav...@spurtreetech.com on 22 Jul 2014 at 7:47

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/jqueryrotate/wiki/Documentation 

Anyway callback will be fired only for animations, it makes no sense to trigger 
callback for static rotation (as you can simply call function you want after 
rotation). To animate use property 'animateTo' instead of 'angle'. Check 
documentation for more.

Original comment by wil...@gmail.com on 22 Jul 2014 at 8:02