Skip to content

Commit

Permalink
Merge pull request #107 from dhruvsakariya/patch-1
Browse files Browse the repository at this point in the history
content error corrected
  • Loading branch information
farminf authored Aug 16, 2022
2 parents f4de1c7 + eeff9c2 commit 356a099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pannellum-react has most of the official pannellum properties (not all of them).
| hotspotDebug | Boolean | false | For debug pupose (finding correct point for hotspot) |
| doubleClickZoom | Boolean | true | Zoom if you double click |

Additionally, by Getting refrence of the component, you can get the pannellum **Viewer** calling `getViewer()` which gives all the available functions of the viewer such as `getPitch`, `setPitch` , `getyaw` and etc. find [here](https://pannellum.org/documentation/api/#viewer)
Additionally, by Getting refrence of the component, you can get the pannellum **Viewer** calling `getViewer()` which gives all the available functions of the viewer such as `getPitch`, `setPitch` , `getYaw` and etc. find [here](https://pannellum.org/documentation/api/#viewer)

Moreover, you can force render the component using `forceRender()` in case if you change a prop and didn't change constantly.(example would be hotspot: if you want to update hotspot dynamically, better to call forceRender after updating the hotspots)

Expand Down

0 comments on commit 356a099

Please sign in to comment.