javascript - `Event.ImageLoaded` event never triggered in FramerJS? -
here code, can pasted framer studio directly:
layera = new layer() # listen loading event layera.on events.imageloaded, -> print "the image loaded" layera.on events.imageloaderror, -> print "the image not loaded" layera.image = "http://framerjs.com/static/images/home/app-icon.png"
however, found the image loaded
string never printed.. caused cache? , have ideas how fix this?
there an issue related imageloaded event. should solved in current version of framer.
Comments
Post a Comment