Pages
    • GETTING STARTED
        • API REFERENCE
                                                                                                                                              • COMMAND LINE
                                                                                                                                                  On this page

                                                                                                                                                      .finish()

                                                                                                                                                      The animation.finish() method.

                                                                                                                                                      This Animation instance method is used to force an animation to the finished state. If there are onfinish handlers, they are called.

                                                                                                                                                      Syntax

                                                                                                                                                      animation.finish();

                                                                                                                                                      Return

                                                                                                                                                      • this - The Animation instance.

                                                                                                                                                      Usage

                                                                                                                                                      Obtain an instance of an ongoing animation and call .finish().

                                                                                                                                                      animation.finish();