The <collage-fragment> web component provides a few lifecycle methods, such as onLoaded. While this is fine, I was wondering if it would be possible to control the behavior in case loading the iframe fails, e.g. because of a network error, or if the targeted server returns a 404.
Would it be possible to add an onError handler, where one might control what should happen in these cases?
The
<collage-fragment>web component provides a few lifecycle methods, such asonLoaded. While this is fine, I was wondering if it would be possible to control the behavior in case loading the iframe fails, e.g. because of a network error, or if the targeted server returns a 404.Would it be possible to add an
onErrorhandler, where one might control what should happen in these cases?