Hi,
I have a Can Controller that renders some stash templates and inserts into the DOM.
The template contains images and I want to listen to events for when those images fail to load.
I tried this but i get no events. Any ideas?
"img error": function (el, ev) {
//error
}
I have a Can Controller that renders some stash templates and inserts into the DOM.
The template contains images and I want to listen to events for when those images fail to load.
I tried this but i get no events. Any ideas?
"img error": function (el, ev) {
//error
}