From 0b19982e391c3e7c1c781e172996db70e3b62f82 Mon Sep 17 00:00:00 2001 From: Kevin LEVRON Date: Fri, 26 Nov 2021 11:50:10 +0100 Subject: [PATCH] emits order --- src/models/Model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/Model.ts b/src/models/Model.ts index a37dfa3..86a6962 100644 --- a/src/models/Model.ts +++ b/src/models/Model.ts @@ -4,7 +4,7 @@ import Object3D from '../core/Object3D' export default defineComponent({ extends: Object3D, - emits: ['load', 'progress', 'error', 'before-load'], + emits: ['before-load', 'load', 'progress', 'error'], props: { src: { type: String, required: true }, },