resize
An event that fires when View3D's canvas size is changed.
| Property | Type | Description |
|---|---|---|
| type | string | The type of event |
| target | View3D | An instance of View3D that triggered this event |
| width | number | New width of the canvas |
| height | number | New height of the canvas |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb"
}