Skip to content

Commit

Permalink
reorganise animation code
Browse files Browse the repository at this point in the history
  • Loading branch information
axherrm committed Jan 3, 2024
1 parent a6faa5f commit 3be2c69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export class AppComponent {
}

ngAfterViewInit(): void {
this.addLangButtonAnimation();
}

addLangButtonAnimation() {
const tl: gsap.core.Timeline = gsap.timeline({
scrollTrigger: {
start: "top 90%%",
Expand Down

0 comments on commit 3be2c69

Please sign in to comment.