Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

How can I change viewer when update state in ReactJS? #423

Closed
1 of 4 tasks
hungvo2010 opened this issue Mar 22, 2023 · 1 comment
Closed
1 of 4 tasks

How can I change viewer when update state in ReactJS? #423

hungvo2010 opened this issue Mar 22, 2023 · 1 comment
Assignees

Comments

@hungvo2010
Copy link

hungvo2010 commented Mar 22, 2023

Description

I am currently use panolens with ReactJS. I want to update viewer when some state in React components like. For example, each panorama have an configuration for auto rotation speed, when panorama change, I want to update the viewer rotate speed. I have use setState(new Viewer) but it doesn't work. How can I solve this issues?

Live example:

Panolens version
  • [ X] Master
  • Dev
Browser
  • [] All of them
  • Chrome
  • Firefox
  • Internet Explorer
@hungvo2010
Copy link
Author

/

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

No branches or pull requests

2 participants