load
An event that fires when the 3D model is loaded but not displayed yet.
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 |
level | number | A level of model when loading multiple models at once, an integer starting from 0 |
maxLevel | number | Maximum level of models loading |
- JSON
- JavaScript
- React
- Angular
- Vue@2
- Vue@3
- Svelte
{
src: "/egjs-view3d/model/draco/alarm.glb",
poster: "/egjs-view3d/poster/alarm_default.png"
}