From f18c67c4be0ba6f24dbea248623822c3de6ef8da Mon Sep 17 00:00:00 2001 From: Razvan Stoenescu Date: Fri, 10 Nov 2023 12:57:09 +0200 Subject: [PATCH] fix(QImg): API - @error param definition #16545 --- ui/src/components/img/QImg.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/src/components/img/QImg.json b/ui/src/components/img/QImg.json index 66f8c3e4ba1..784476126a6 100644 --- a/ui/src/components/img/QImg.json +++ b/ui/src/components/img/QImg.json @@ -246,9 +246,9 @@ "error": { "desc": "Emitted when browser could not load the image", "params": { - "err": { - "type": "Error", - "desc": "JS Error object" + "evt": { + "type": "Event", + "desc": "JS Event object (same as the browser's native 'error' event)" } } }