scrollable
Enable browser scrolling with touch on the canvas area.
This will block the rotate(pitch) control if the user is currently scrolling.
Example
scrollable: true (default)
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
scrollable: true
}
scrollable: false
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
scrollable: false
}