File

projects/openvidu-components-angular/src/lib/directives/api/stream.directive.ts

Description

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:

Example :
<ov-videoconference [streamDisplayParticipantName]="false"></ov-videoconference>


And it also can be used in the StreamComponent.

Example :
<ov-stream [displayParticipantName]="false"></ov-stream>

Implements

AfterViewInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(elementRef: ElementRef, libService: OpenViduComponentsConfigService)
Parameters :
Name Type Optional
elementRef ElementRef No
libService OpenViduComponentsConfigService No

Inputs

displayParticipantName
Type : boolean
streamDisplayParticipantName
Type : boolean

Methods

clear
clear()
Returns : void
update
update(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

Properties

displayParticipantNameValue
Type : boolean
Public elementRef
Type : ElementRef

Accessors

streamDisplayParticipantName
setstreamDisplayParticipantName(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
displayParticipantName
setdisplayParticipantName(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

results matching ""

    No results matching ""