scrollable
When set to true
, allows scrolling within the canvas area of the mobile(touch) environment.
caution
If you enable this value, vertical swiping will cause the page scroll.
In order for the user to change the camera view up/down,
The user must first swipe horizontally and then swipe vertically.
Example (Check it on mobile)
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
scrollable: true,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
scrollable: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}