mirror of https://github.com/OpenVidu/openvidu.git
20 lines
435 B
TypeScript
20 lines
435 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
import { Router } from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'app-dashboard',
|
|
templateUrl: './dashboard.component.html',
|
|
styleUrls: ['./dashboard.component.scss']
|
|
})
|
|
export class DashboardComponent implements OnInit {
|
|
title = 'openvidu-angular';
|
|
|
|
constructor(private router: Router) {}
|
|
|
|
ngOnInit(): void {}
|
|
|
|
goTo(path: string) {
|
|
this.router.navigate([`/${path}`]);
|
|
}
|
|
}
|