Files
housesof/src/animations/Transition.js
Félix Péault 462359fcf2
All checks were successful
continuous-integration/drone/push Build is passing
Page and components animations rework WIP
2020-04-03 23:03:00 +02:00

17 lines
347 B
JavaScript

import { quartInOut } from 'svelte/easing'
/*
** Animation Out: Background
*/
export const panelBackgroundOut = (node, params) => {
return {
delay: params.delay || 0,
duration: params.duration || 400,
easing: params.easing || quartInOut,
css: (t, u) => `
transform: scaleY(${t})
`
}
}