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

                                                                                                                                                      .pause()

                                                                                                                                                      The timeline.pause() method.

                                                                                                                                                      This Timeline instance method is used to pause all animations in the timeline. Animation instances added after this call are paused immediately.

                                                                                                                                                      Syntax

                                                                                                                                                      timeline.pause(except = []);

                                                                                                                                                      Parameters

                                                                                                                                                      • except: Array - An optional list of Animation instances to excempt.

                                                                                                                                                      Return

                                                                                                                                                      • this - The Timeline instance.

                                                                                                                                                      Usage

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

                                                                                                                                                      timeline.pause();