Files
rc-portfolio/src/app/home/home.component.ts
2025-04-03 23:07:25 -04:00

22 lines
588 B
TypeScript

import { Component } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { slidInAnimations, wobbleAnimation } from '../animations/animations';
@Component({
standalone: true,
selector: 'app-home',
imports: [MatButtonModule, MatIconModule],
templateUrl: './home.component.html',
styleUrl: './home.component.scss',
animations: [slidInAnimations, wobbleAnimation],
})
export class HomeComponent {
isWobbling = true;
onwobbleDone() {
this.isWobbling = !this.isWobbling;
}
}