ov-components: enhance documentation for room and participant events

master
Carlos Santos 2025-03-07 13:30:26 +01:00
parent 5d855a1338
commit ad8f368a91
1 changed files with 5 additions and 5 deletions

View File

@ -65,28 +65,28 @@ export class SessionComponent implements OnInit, OnDestroy {
@ContentChild('panel', { read: TemplateRef }) panelTemplate: TemplateRef<any>; @ContentChild('panel', { read: TemplateRef }) panelTemplate: TemplateRef<any>;
@ContentChild('layout', { read: TemplateRef }) layoutTemplate: TemplateRef<any>; @ContentChild('layout', { read: TemplateRef }) layoutTemplate: TemplateRef<any>;
/** /**
* Provides event notifications that fire when OpenVidu Room is created. * Provides event notifications that fire when Room is created for the local participant.
* *
*/ */
@Output() onRoomCreated: EventEmitter<Room> = new EventEmitter<Room>(); @Output() onRoomCreated: EventEmitter<Room> = new EventEmitter<Room>();
/** /**
* Provides event notifications that fire when OpenVidu Room is disconnected. * Provides event notifications that fire when Room is being reconnected for the local participant.
*/ */
@Output() onRoomReconnecting: EventEmitter<void> = new EventEmitter<void>(); @Output() onRoomReconnecting: EventEmitter<void> = new EventEmitter<void>();
/** /**
* Provides event notifications that fire when OpenVidu Room is reconnected. * Provides event notifications that fire when Room is reconnected for the local participant.
*/ */
@Output() onRoomReconnected: EventEmitter<void> = new EventEmitter<void>(); @Output() onRoomReconnected: EventEmitter<void> = new EventEmitter<void>();
/** /**
* Provides event notifications that fire when OpenVidu Room is disconnected. * Provides event notifications that fire when Room is disconnected for the local participant.
*/ */
@Output() onRoomDisconnected: EventEmitter<void> = new EventEmitter<void>(); @Output() onRoomDisconnected: EventEmitter<void> = new EventEmitter<void>();
/** /**
* Provides event notifications that fire when local participant is created. * Provides event notifications that fire when local participant is created and connected to the Room.
*/ */
@Output() onParticipantCreated: EventEmitter<ParticipantModel> = new EventEmitter<ParticipantModel>(); @Output() onParticipantCreated: EventEmitter<ParticipantModel> = new EventEmitter<ParticipantModel>();