Untitled

mail@pastecode.io avatar
unknown
typescript
a year ago
408 B
0
Indexable
Never
import { Component } from '@angular/core';

@Component({
  selector: 'app-my-component',
  templateUrl: './my-component.component.html',
  styleUrls: ['./my-component.component.css']
})
export class MyComponent {
  title = 'My Component';

  constructor() { }

  ngOnInit(): void {
    console.log('Component initialized');
  }

  handleClick() {
    console.log('Button clicked');
  }
}