File

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

Description

The streamDisplayParticipantName directive allows show/hide the participants name in all stream components from the parent VideoconferenceComponent.

Default: true

To control visibility per individual stream use [displayParticipantName] directly on StreamComponent: <ov-stream [displayParticipantName]="false"></ov-stream>

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

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

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

results matching ""

    No results matching ""