File

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

Description

The *ovLeaveButton directive allows you to inject a custom leave button template. You can use the toolbarLeaveButton = false for replacing the default leave button with your custom one.

Usage example:

Example :
<ov-videoconference [toolbarLeaveButton]="false">
  <ng-container *ovLeaveButton>
    <button class="my-leave-button" (click)="customLeave()">
      Leave meeting
    </button>
  </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 ""