projects/openvidu-components-angular/src/lib/directives/template/internals.directive.ts
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>| Selector | [ovToolbarLeaveButton] |
Properties |
constructor(template: TemplateRef
|
|||||||||
|
Parameters :
|
| Public container |
Type : ViewContainerRef
|
| Public template |
Type : TemplateRef<any>
|