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.
10 lines • 412 B
JavaScript
import { EaseOut } from '../../easings.js';
import { animation } from '../../types.js';
const baseOptions = {
duration: 350,
easing: EaseOut.Sine,
};
const fadeIn = (options = baseOptions) => animation([{ opacity: 0 }, { opacity: 1 }], options);
const fadeOut = (options = baseOptions) => animation([{ opacity: 1 }, { opacity: 0 }], options);
export { fadeIn, fadeOut };
//# sourceMappingURL=index.js.map