mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.15k stars 710 forks source link

Add onclick JS function in Hot Spots #1173

Closed HassanMatloob closed 11 months ago

HassanMatloob commented 11 months ago

There is a URL option in Hot Spots but I think if there is onclick option added in Hot Spots then it should be more easier to increase its usability.

mpetroff commented 11 months ago

The clickHandlerFunc hot spot parameter already exists to add a click event handler.