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 GitHub
parent 618955e1ee
commit dda22e0de6

View File

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