mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Added panel component
parent
e56ac82749
commit
e4a6d9be1d
|
@ -0,0 +1 @@
|
||||||
|
<p>panel works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { PanelComponent } from './panel.component';
|
||||||
|
|
||||||
|
describe('PanelComponent', () => {
|
||||||
|
let component: PanelComponent;
|
||||||
|
let fixture: ComponentFixture<PanelComponent>;
|
||||||
|
|
||||||
|
beforeEach(async () => {
|
||||||
|
await TestBed.configureTestingModule({
|
||||||
|
declarations: [ PanelComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
});
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(PanelComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'ov-panel',
|
||||||
|
templateUrl: './panel.component.html',
|
||||||
|
styleUrls: ['./panel.component.css']
|
||||||
|
})
|
||||||
|
export class PanelComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit(): void {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -57,6 +57,7 @@ import { ParticipantService } from './services/participant/participant.service';
|
||||||
import { ParticipantItemComponent } from './components/participants-panel/participant-item/participant-item.component';
|
import { ParticipantItemComponent } from './components/participants-panel/participant-item/participant-item.component';
|
||||||
import { ParticipantsPanelComponent } from './components/participants-panel/participants-panel/participants-panel.component';
|
import { ParticipantsPanelComponent } from './components/participants-panel/participants-panel/participants-panel.component';
|
||||||
import { VideoconferenceComponent } from './components/videoconference/videoconference.component';
|
import { VideoconferenceComponent } from './components/videoconference/videoconference.component';
|
||||||
|
import { PanelComponent } from './components/panel/panel.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -75,7 +76,8 @@ import { VideoconferenceComponent } from './components/videoconference/videoconf
|
||||||
NicknamePipe,
|
NicknamePipe,
|
||||||
ParticipantItemComponent,
|
ParticipantItemComponent,
|
||||||
ParticipantsPanelComponent,
|
ParticipantsPanelComponent,
|
||||||
VideoconferenceComponent
|
VideoconferenceComponent,
|
||||||
|
PanelComponent
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
|
|
Loading…
Reference in New Issue