primevue-mirror/components/lib/props/style/animation/modules/slide.js

29 lines
608 B
JavaScript

/* const { addAnimation } = require('../rules');
module.exports = (root, opts) => {
addAnimation(
{
name: 'slidedown',
from: { 'max-height': '0' },
to: { 'max-height': 'auto' },
duration: '.45s',
timing: 'ease-in-out'
},
root,
opts
);
addAnimation(
{
name: 'slideup',
from: { 'max-height': '1000px' },
to: { 'max-height': '0' },
duration: '.45s',
timing: 'cubic-bezier(0, 1, 0, 1)'
},
root,
opts
);
};
*/