From 7a4831b28a40ff703a6259e3644ffa123c497845 Mon Sep 17 00:00:00 2001 From: Ajit Panigrahi Date: Sat, 1 Jul 2023 18:23:59 +0530 Subject: [PATCH] Added clarification comments in the demo app Fixed a minor typo as well. --- apps/demo/src/app/app.component.ts | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/apps/demo/src/app/app.component.ts b/apps/demo/src/app/app.component.ts index b2b1000..58ee225 100644 --- a/apps/demo/src/app/app.component.ts +++ b/apps/demo/src/app/app.component.ts @@ -4,6 +4,10 @@ import { RouterModule } from '@angular/router'; import { AutoAnimationPlugin, getTransitionSizes } from '@formkit/auto-animate'; import { NgAutoAnimateDirective } from 'ng-auto-animate'; +/* + * This is a helper type only. The original example is in JavaScript, not TypeScript, so no type is exported. + * Actual values can be any CSS properties. + */ type KeyframeProps = { transform: string; opacity?: number; @@ -26,16 +30,16 @@ type KeyframeProps = {
-
+
📝 View README (Slow transition, from global default settings)
-