igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
16 lines • 500 B
JavaScript
import { EaseOut } from '../../easings.js';
import { animation } from '../../types.js';
const baseOptions = {
duration: 350,
easing: EaseOut.Quad,
};
const growVerIn = (options = baseOptions) => animation([
{ opacity: 0, height: 0 },
{ opacity: 1, height: 'auto' },
], options);
const growVerOut = (options = baseOptions) => animation([
{ opacity: 1, height: 'auto' },
{ opacity: 0, height: 0 },
], options);
export { growVerIn, growVerOut };
//# sourceMappingURL=index.js.map