Skip to content
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

Usage with Angular 7 #14

Open
rockyawfatech opened this issue Feb 28, 2020 · 1 comment
Open

Usage with Angular 7 #14

rockyawfatech opened this issue Feb 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@rockyawfatech
Copy link

Hello. First of all, thanks to the creator for creating this beautiful library. However I wanted to ask. Is this library compatible with Angular 7? If it is, how to correctly implement it?

@alexcambose
Copy link
Owner

alexcambose commented Mar 1, 2020

Hello. In theory, it should work with any frontend framework, I'm not that experienced in Angular but there are some steps you'll need to do:

  • select the DOM element you want to animate, probably you'll need some kind of ref for it
  • execute the code for adding the animation, once, after the DOM element was created (ngAfterContentInit probably)
    Hope this helps.

@alexcambose alexcambose added the enhancement New feature or request label Mar 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants