File

projects/openvidu-components-angular/src/lib/directives/template/internals.directive.ts

Description

The *ovLayoutAdditionalElements directive allows you to inject custom HTML or Angular templates as additional layout elements within the videoconference UI. This enables you to extend the layout with extra controls, banners, or any custom UI.

Usage example:

Example :
<ov-videoconference>
  <ng-container *ovLayoutAdditionalElements>
    <div class="my-custom-layout-element">
      <!-- Your custom HTML here -->
      <span>Extra layout element</span>
    </div>
  </ng-container>
</ov-videoconference>

Metadata

Index

Properties

Constructor

constructor(template: TemplateRef, container: ViewContainerRef)
Parameters :
Name Type Optional
template TemplateRef<any> No
container ViewContainerRef No

Properties

Public container
Type : ViewContainerRef
Public template
Type : TemplateRef<any>

results matching ""

    No results matching ""