openvidu/openvidu-components-angular/projects/openvidu-angular/src/lib/components/panel/activities-panel/activities-panel.component.ts

21 lines
552 B
TypeScript
Raw Normal View History

import { Component, OnInit } from '@angular/core';
import { PanelType } from '../../../models/panel.model';
import { PanelService } from '../../../services/panel/panel.service';
@Component({
selector: 'ov-activities-panel',
templateUrl: './activities-panel.component.html',
styleUrls: ['./activities-panel.component.css']
})
export class ActivitiesPanelComponent implements OnInit {
constructor(private panelService: PanelService) {}
ngOnInit(): void {}
ngOnDestroy() {}
close() {
this.panelService.togglePanel(PanelType.ACTIVITIES);
}
}