Skip to main content

resize

An event that fires when View3D's canvas size is changed.

PropertyTypeDescription
typestringThe type of event
targetView3DAn instance of View3D that triggered this event
widthnumberNew width of the canvas
heightnumberNew height of the canvas
Events Triggered
{
src: "/egjs-view3d/model/draco/alarm.glb"
}