Project

General

Profile

1
import { Component, OnInit } from '@angular/core';
2

    
3
@Component ({
4
  selector: 'app-compatibility-validation',
5
  templateUrl: 'compatibility-validate.component.html'
6
})
7

    
8
export class CompatibilityValidateComponent implements OnInit {
9

    
10
  constructor() {}
11

    
12
  ngOnInit() {
13
    let body = document.getElementsByTagName('body')[0];
14
    body.classList.remove("top_bar_active");   //remove the class
15
    body.classList.remove("page_heading_active");
16
    body.classList.remove("landing");
17
    body.classList.add("dashboard");
18
  }
19
}
(10-10/17)