import { Directive, TemplateRef, ViewContainerRef } from '@angular/core'; /** * The ***ovToolbar** directive allows to replace the default toolbar component injecting your custom template. * * @example * * */ @Directive({ selector: '[ovToolbar]' }) export class ToolbarDirective { /** * @ignore */ constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } /** * The ***ovToolbarAdditionalButtons** directive allows to add additional buttons to the toolbar. * There are two ways to use this directive: * * 1. Adding it to an element as a child of the parent element **_ov-videoconference_** {@link VideoconferenceComponent} * @example * *
* * *
*
* *
* 2. Adding it to an element as child of the element tagged with the {@link ToolbarDirective} * @example * * *
* * *
*
*
* */ @Directive({ selector: '[ovToolbarAdditionalButtons]' }) export class ToolbarAdditionalButtonsDirective { /** * @ignore */ constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } /** * The ***ovPanel** directive allows to replace the default panel component injecting your custom template. * * This directive is closely related to {@link ChatPanelDirective} and {@link ParticipantsPanelDirective}. * * * @example * * ... * * */ @Directive({ selector: '[ovPanel]' }) export class PanelDirective { constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } /** * The ***ovChatPanel** directive allows to replace the defaultchat panel template injecting your own component. * There are two ways to use this directive: * * 1. Adding it to an element as a child of the parent element **_ov-videoconference_** {@link VideoconferenceComponent} * @example * * * * *
* 2. Adding it to an element as child of the element tagged with the {@link ToolbarDirective} * @example * * * * * * *
* INFO: * You also can use the default components adsada dasda d asd *
* */ @Directive({ selector: '[ovChatPanel]' }) export class ChatPanelDirective { constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } @Directive({ selector: '[ovParticipantsPanel]' }) export class ParticipantsPanelDirective { constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } @Directive({ selector: '[ovParticipantPanelItem]' }) export class ParticipantPanelItemDirective { constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } @Directive({ selector: '[ovParticipantPanelItemElements]' }) export class ParticipantPanelItemElementsDirective { constructor(public template: TemplateRef, public viewContainer: ViewContainerRef) {} } @Directive({ selector: '[ovLayout]' }) export class LayoutDirective { constructor(public template: TemplateRef, public container: ViewContainerRef) {} } /** * The ***ovStream** directive allows to replace the default stream component template injecting your own component. * There are two ways to use this directive: * * 1. Adding it to an element as a child of the parent element **_ov-videoconference_** {@link VideoconferenceComponent} * @example * * * * * * *
* 2. Adding it to an element as child of the element tagged with the {@link ToolbarDirective} * @example * * * * * * *
* INFO: * You also can use the default components adsada dasda d asd *
* */ @Directive({ selector: '[ovStream]' }) export class StreamDirective { constructor(public template: TemplateRef, public container: ViewContainerRef) {} }