useGrabCursor
Sets whether to automatically change the CSS cursor value when using the mouse.
If true
, apply cursor: "grab"
to the canvas when it's in the default state and cursor: "grabbing"
during input.
Example
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
useGrabCursor: true,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}
- JSON
- Javascript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
useGrabCursor: false,
projection: new EquirectProjection({
src: "/pano/equirect/veste.jpg",
})
}