Skip to content

Commit

Permalink
content error corrected
Browse files Browse the repository at this point in the history
getYaw
  • Loading branch information
dhruvsakariya authored Jul 1, 2022
1 parent f4de1c7 commit eeff9c2
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 eeff9c2

Please sign in to comment.