You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to perform a loader mapping to upload images as follows:
<span><imgdata-script="on load remove the next <span#loader/>"
src="link to any photo"
><spanid="loader" /></span>
but the problem is that when the src attribute is changed, the load event fires again. Although the #loader element has already been removed from dom.
<span><imgdata-script="on load remove the next <span#loader/>"
src="link to any photo"
><spanid="loader" /></span><script>setTimeout(()=>{document.querySelector`img`.src=`any other photo reference`},1000)</script>
I think some modifier is required here to solve the problem, but I haven't found anything in the documentation
this is the only way I've been able to solve the problem so far. But I am confused that the event is not removed from the dom element
on load
if the next <span#loader />
remove the next <span#loader/>
end
The text was updated successfully, but these errors were encountered:
I tried to perform a loader mapping to upload images as follows:
but the problem is that when the src attribute is changed, the load event fires again. Although the #loader element has already been removed from dom.
I think some modifier is required here to solve the problem, but I haven't found anything in the documentation
this is the only way I've been able to solve the problem so far. But I am confused that the event is not removed from the dom element
The text was updated successfully, but these errors were encountered: