projects/openvidu-components-angular/src/lib/directives/api/toolbar.directive.ts
The leaveButton directive allows show/hide the leave toolbar button.
Default: true
It can be used in the parent element VideoconferenceComponent specifying the name of the toolbar
component:
<ov-videoconference [toolbarLeaveButton]="false"></ov-videoconference>
And it also can be used in the ToolbarComponent.
<ov-toolbar [leaveButton]="false"></ov-toolbar>
AfterViewInit
OnDestroy
Selector | ov-videoconference[toolbarLeaveButton], ov-toolbar[leaveButton] |