chrisj
1/10/2019 - 7:00 PM

Greensock Change Classes

// Remove class .loading from body
TweenLite.set($body, {className: '-=loading'});
// Add class .loading to body
TweenLite.set($body, {className: '+=loading'});
// Set only class .loading to body
TweenLite.set($body, {className: 'loading'});