File

src/app/dashboard/dashboard.component.ts

Metadata

selector app-dashboard
styleUrls dashboard.component.scss
templateUrl dashboard.component.html

Constructor

constructor(courseService: ClassService)

Properties

courseService
courseService: ClassService
logoUrl
logoUrl: string
scale
scale: number
Default value: 7
import { Component } from '@angular/core';
import { ClassService } from '../services/classes/class.service';

@Component({
  selector: 'app-dashboard',
  templateUrl: './dashboard.component.html',
  styleUrls: ['./dashboard.component.scss']
})
export class DashboardComponent {
  scale: number = 7
  logoUrl: string = this.courseService.website === "computerScience" ? "assets/images/logos/Colorwheel/TheHubMSCS-128.png" : "assets/images/logos/Colorwheel/TheHubMSDS-128.png"

  constructor(
    public courseService: ClassService
  ) {}
}

results matching ""

    No results matching ""