How to use the scrollmagic.default.Controller function in scrollmagic

To help you get started, we’ve selected a few scrollmagic examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bitworking / react-scrollmagic / src / SMController.js View on Github external
componentDidMount() {
    const { children, ...controllerProps } = this.props;

    this.setState({
      controller: new ScrollMagic.Controller(controllerProps)
    });
  }

scrollmagic

The javascript library for magical scroll interactions.

(MIT OR GPL-3.0+)
Latest version published 3 years ago

Package Health Score

61 / 100
Full package analysis