-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular 16 support #167
Comments
Happy to accept a PR. |
Do we have an update on this by chance? |
@KS2SoftwareGmbH there is a PR open here for 17 support. I’m not at all an angular dev, so Id love to see someone else help review it: If that works I can merge and publish |
I wrote that PR, but here is quick tip for v16: Create a new directive in your project: import {
AfterViewInit,
Directive,
ElementRef,
Input,
} from "@angular/core";
import autoAnimate, { AutoAnimateOptions } from '@formkit/auto-animate';
@Directive({
selector: "[auto-animate]",
standalone: true,
})
export class AutoAnimateDirective implements AfterViewInit {
@Input() options: Partial<AutoAnimateOptions> = {};
constructor(private el: ElementRef) {}
ngAfterViewInit(): void {
autoAnimate(this.el.nativeElement, this.options)
}
} And then you can just use it as any other directive. |
Is there any plan to support Angular v16? The Ivy compiler doesn't work anymore
The text was updated successfully, but these errors were encountered: