Skip to main content

scrollable

Typeboolean
Defaulttrue
Added inv4.0.0

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)

{
scrollable: true,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
{
scrollable: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}