1.0.7 • Published 7 years ago
waapi-pack v1.0.7
waapi-pack
A collection of functions that create keyframe objects for the Web Animations Api.
Wobble
const { wobble } = WaapiPack;
const woobleKeyframes = wobble({ amount: 0.2 });
document.querySelector('.somediv').animate(
woobleKeyframes,
{ duration: 2000 }
);