
sngsap2016
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by sngsap2016
-
-
This works :
npm install gsap
and
npm install @types/gsap
by configurig tweenlite into systemjs packaging,
worked as expected with angular 2/4
The questions are
- how to install business green gasp package so I can use with angualr 2/4.
- How plugins like splittext can be used along with this.
Appreciate any help.
Thanks
greensock business green - angular 2 - Typedef - plugin usage
in GSAP
Posted
Thanks for your response.
I copied all .js files from commonsjs-flat into node_modules\gsap.
import { SplitText, TimelineMax, TweenLite} from 'gsap';
No issues with TimelineMax and TweenLite.
But SplitText throws exception as follows:
__WEBPACK_IMPORTED_MODULE_1_gsap__.SplitText is not a constructor
Thanks for your help.