mirror of https://github.com/OpenVidu/openvidu.git
18 lines
382 B
TypeScript
18 lines
382 B
TypeScript
![]() |
import { Component } from '@angular/core';
|
||
|
import { Router } from '@angular/router';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'app-root',
|
||
|
templateUrl: './app.component.html',
|
||
|
styleUrls: ['./app.component.css']
|
||
|
})
|
||
|
export class AppComponent {
|
||
|
|
||
|
constructor(private router: Router) { }
|
||
|
|
||
|
isVideoSessionUrl() {
|
||
|
return (this.router.url.substring(0, '/lesson/'.length) === '/lesson/');
|
||
|
}
|
||
|
|
||
|
}
|