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

panorama-loaded and gallery plugin #883

Closed
haldo98 opened this issue Mar 6, 2023 · 2 comments
Closed

panorama-loaded and gallery plugin #883

haldo98 opened this issue Mar 6, 2023 · 2 comments
Labels
Milestone

Comments

@haldo98
Copy link

haldo98 commented Mar 6, 2023

Describe your problem

Hi Damien

I have this:

var panoName = ({ data }) => {
    console.log(data.panorama);
};

viewer.addEventListener('panorama-loaded', panoName);

it should log the name of the panorama that it is loaded. Works with the first one that is loaded.
But with the gallery plugin when i'm loading other panoramas.... nothing happens.

Am I missing something?
Thanks.

Online demo URL

https://www.tadini.it/temp/pano5.html

Photo Sphere Viewer version

5.1.2

Plugins loaded

gallery

Additional context

No response

@mistic100 mistic100 added bug and removed question labels Mar 7, 2023
@mistic100 mistic100 added this to the 5.1.3 milestone Mar 7, 2023
@mistic100
Copy link
Owner

Thanks

@github-actions
Copy link

This feature/bug fix has been released in version 5.1.3.

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

No branches or pull requests

2 participants