Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger "ready" event #42

Closed
Stajor opened this issue Apr 26, 2014 · 1 comment
Closed

Trigger "ready" event #42

Stajor opened this issue Apr 26, 2014 · 1 comment

Comments

@Stajor
Copy link

Stajor commented Apr 26, 2014

I can't catch ready event. Can you "fire" ready event after you call to showImages method

@creativeaura
Copy link
Owner

I have add a onReady callback function that will get triggered once all images are loaded and is ready to render on the screen.

var product1 = $('.product1').ThreeSixty({
        totalFrames: 52,
        endFrame: 30,
        currentFrame: 1,
        drag: true,
        imgList: '.threesixty_images',
        progress: '.spinner',
        imagePath:'img/car/',
        filePrefix: '',
        ext: '.png',
        height: 447,
        width: 1000,
        navigation: true,
        disableSpin: false,
        onReady: function () {
          console.log('onReady Triggered');
        }
      });

This will be available on v1.0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants