Hello,
Is it possible to extend gsap properties ? I mean we set individual properties "translate, scale..." and then set CSS transform to translate/scale... on element.
I think gsap doesnt handle properties like blur, brightness because of old IE have a specific behavior with CSS filter property, right ? Anyway I have to find a way to do it quicker than :
gsap.to({
blur : 0
}, {
duration : 1,
blur : 10,
onUpdate : function() {
elem.style.filter = [...];
}
});
Like :
gsap.to(elem, {
duration : 1,
blur : 5,
brightness : 2
});
What is the best way to achieve this ? or more generally how to extend properties ?
Thanks !