Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    finishAnimation() missing

    As per the latest AnimationCallback documentation, there should be a finishAnimation() method with which a Canvas.animate{Hide, Show, ...}() call could be stopped before it is expected to be finished.
    I suppose finishAnimation() should belong to Canvas but there is no such method - I was not able to find it anywhere.

    Is it a documentation issue or a missing method? I hope it is the latter as I need the functionality :)

    #2
    This is actually internal functionality that shouldn't have been mentioned in the docs. To end a show/hide animation early, just call show() or hide(). Same with a resize or other animation - just call resizeTo() with the final coordinates.

    Comment


      #3
      Ok, thanks!

      Comment

      Working...
      X