github janpaepke/ScrollMagic v3.0.0-beta.3

latest release: v3.0.0-beta.4
pre-release5 hours ago

Breaking Changes

  • Options renamedscrollParentcontainer, triggerStartcontainerStart, triggerEndcontainerEnd. This groups container-related options under a shared prefix and avoids confusion with GSAP's trigger (which refers to the element, not the container). The resolvedBounds getter now returns { element, container } instead of { element, scrollParent }.

New Features

  • Multi-match selector warning (dev mode) — when a CSS selector passed to element or container matches more than one DOM element, a warning advises creating one instance per element instead.

Build

  • Original sources embedded in source maps — published .map files now contain the actual TypeScript source via inlineSources, making them useful for debugging without the src/ directory.
  • TypeDoc setup — API documentation can now be generated via npm run docs:api.

Docs

  • Comprehensive JSDoc added to all public API surfaces (classes, methods, types, enums).
  • Animated GIF diagrams for contain and intersect modes.

Don't miss a new ScrollMagic release

NewReleases is sending notifications on new releases.