matrix-dimension/web/app/app.animations.ts

13 lines
429 B
TypeScript
Raw Normal View History

2018-03-24 00:12:34 -04:00
import { animate, style, transition, trigger } from "@angular/animations";
export const ANIMATION_FADE_IN_NOT_OUT =
trigger('fadeInNotOutAnimation', [
transition(':enter', [
style({opacity: 0}),
animate('200ms', style({opacity: 1})),
]),
// transition(':leave', [
// style({opacity: 1}),
// animate('100ms', style({opacity: 0})),
// ]),
]);