Capítulo 319 de 411

Chapter 319: .paused

Core Idea

Gets/Sets the paused state - if true, nothing will scroll (except via scrollTop() or scrollTo() on this instance).

Key Concepts

  • pause: Boolean

Code Examples

// setter
smoother.paused(true);

// getter
if (!smoother.paused()) {
  // do stuff...
}
  • What it demonstrates: typical usage of .paused in a GSAP animation.

Key Takeaways

  1. pause: Boolean

Connects To