Permalink
Browse files

Add image load events

  • Loading branch information...
koenbok committed Oct 5, 2014
1 parent 4eb86e9 commit 2a0439a4661eb1e3d27daa6b4f30f27f45516334
Showing with 4 additions and 0 deletions.
  1. +4 −0 framer/Events.coffee
@@ -28,6 +28,10 @@ Events.AnimationEnd = "end"
# Scroll events
Events.Scroll = "scroll"
# Image events
Events.ImageLoaded = "load"
Events.ImageLoadError = "error"
# Extract touch events for any event
Events.touchEvent = (event) ->
touchEvent = event.touches?[0]

0 comments on commit 2a0439a

Please sign in to comment.