projects/openvidu-components-angular/src/lib/directives/api/stream.directive.ts
The displayParticipantName directive allows show/hide the participants name in stream component.
Default: true
It can be used in the parent element VideoconferenceComponent specifying the name of the stream
component:
<ov-videoconference [streamDisplayParticipantName]="false"></ov-videoconference>
And it also can be used in the StreamComponent.
<ov-stream [displayParticipantName]="false"></ov-stream>
AfterViewInit
OnDestroy
Selector | ov-videoconference[streamDisplayParticipantName], ov-stream[displayParticipantName] |
Properties |
Methods |
Inputs |
Accessors |
constructor(elementRef: ElementRef, libService: OpenViduComponentsConfigService)
|
|||||||||
Parameters :
|
displayParticipantName |
Type : boolean
|
streamDisplayParticipantName |
Type : boolean
|
clear |
clear()
|
Returns :
void
|
update | ||||||
update(value: boolean)
|
||||||
Parameters :
Returns :
void
|
displayParticipantNameValue |
Type : boolean
|
Public elementRef |
Type : ElementRef
|
streamDisplayParticipantName | ||||||
setstreamDisplayParticipantName(value: boolean)
|
||||||
Parameters :
Returns :
void
|
displayParticipantName | ||||||
setdisplayParticipantName(value: boolean)
|
||||||
Parameters :
Returns :
void
|