modelChange
An event that fires when the 3D Model is loaded and displayed on the canvas.
Property | Type | Description |
---|---|---|
type | string | The type of event |
target | View3D | An instance of View3D that triggered this event |
model | Model | A new model that loaded |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
poster: "/egjs-view3d/poster/alarm_default.png"
}