autoResize
Whether to automatically call resize() when the canvas element's size is changed.
It will use Resizeobserver for resize detection if useResizeObserver
set to true, or window's resize
event if not.
info
Change the window size or rotate device to check its effect!
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb"
}