davidvictor / angular-scroll-magic

An angular directive for ScrollMagic, define pins and tweens in markup

Home Page:http://homerjam.github.io/angular-scroll-magic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular-scroll-magic

An angular directive for ScrollMagic, define pins and tweens in markup

Installation

npm i -S angular-scroll-magic

Demo

http://homerjam.github.io/angular-scroll-magic/

Usage

TODO

Gotchas

ScrollMagic doesn't work as expected with Webpack, try using the script-loader like so:

    import 'script!scrollmagic';
    import 'script!scrollmagic/scrollmagic/uncompressed/plugins/animation.gsap';
    import 'script!scrollmagic/scrollmagic/uncompressed/plugins/debug.addIndicators';

    import angularScrollMagic from 'angular-scroll-magic';

About

An angular directive for ScrollMagic, define pins and tweens in markup

http://homerjam.github.io/angular-scroll-magic/

License:MIT License


Languages

Language:HTML 41.7%Language:CSS 37.8%Language:JavaScript 20.5%