The Tween module gives an access to the GreenSock API for HTML5.
Classes of the GreenSock API that are available for usage as a part of Admixer HTML5 API:
- Tween.TM.Max: typeof TweenMax;
- Tween.TM.LineMax: typeof TimelineMax;
- Tween.TM.Linear: typeof Linear;
Follow the link
https://greensock.com/docs/ for the detailed instruction on the GreenSock
API for HTML5
Adding a Tween module
Tween module is added as a function parameter.
- Expand a template for the Tween module code
admixAPI.on('load', function(Tween){
/*
YOUR CODE IS HERE
*/
});
Updated on December 06, 2022