diff --git a/web/app/app.animations.ts b/web/app/app.animations.ts new file mode 100644 index 0000000..26ff967 --- /dev/null +++ b/web/app/app.animations.ts @@ -0,0 +1,13 @@ +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})), + // ]), + ]); \ No newline at end of file diff --git a/web/app/elements/ibox/ibox.component.html b/web/app/elements/ibox/ibox.component.html index 93d6b83..1fe77fd 100644 --- a/web/app/elements/ibox/ibox.component.html +++ b/web/app/elements/ibox/ibox.component.html @@ -9,7 +9,7 @@ -