Cloud-CV/EvalAI

View on GitHub
frontend_v2/src/app/components/about/about.component.ts

Summary

Maintainability
A
2 hrs
Test Coverage
import { Component, OnInit } from '@angular/core';
import { GlobalService } from '../../services/global.service';

/**
 * Component Class
 */
@Component({
  selector: 'app-about',
  templateUrl: './about.component.html',
  styleUrls: ['./about.component.scss'],
})
export class AboutComponent implements OnInit {
  /**
   * Constructor.
   * @param globalService  GlobalService Injection.
   */
  constructor(private globalService: GlobalService) {}

  /**
   * Component on Initialization.
   */
  ngOnInit() {
    this.globalService.scrollToTop();
  }
}