They're specific to our brand, but hey, if you're curious, we're an open book.
Proprietary brand animations for Brinkbit.
npm i --save brinkbit-brand-animations
Currently directly depends on global jquery and jquery.hx
Exposes es2015 modules which need to be transpiled and bundled.
For letter animations:
import { alphabet, Animation } from 'node_modules/brinkbit-brand-animations';
// pass in a container element
const $container = $( '.container' );
const animation = new Animation( $container );
animation.setupLetter();
// pass in the letter we want to animate to and the duration of the animation
animation.animateToLetter( alphabet.logo, 1000 )
.then(() => {
// the animation has completed
});
npm test
The guide for contributing to any Brinkbit repository can be found here.