feat(runtime): Add Image node output "On Error" signal (#48)

"On Error" is triggered when the image is not loading correctly, making it possible to hide the Image node or show a placeholder instead.
This commit is contained in:
Eric Tuvesson
2024-07-04 14:02:34 +02:00
committed by Richard Osborne
parent 22058e9016
commit e039d30320

View File

@@ -114,6 +114,12 @@ const ImageNode = {
propPath: 'dom',
type: 'signal',
group: 'Events'
},
onError: {
displayName: 'On Error',
propPath: 'dom',
type: 'signal',
group: 'Events'
}
}
};