openvidu-components: Added background effects param to webcomponent

pull/722/head
csantosm 2022-04-29 10:38:49 +02:00
parent 8550b77d17
commit af02ffe92a
1 changed files with 19 additions and 0 deletions

View File

@ -49,6 +49,10 @@ export class OpenviduWebComponentComponent implements OnInit {
* @internal
*/
_toolbarFullscreenButton: boolean = true;
/**
* @internal
*/
_toolbarBackgroundEffectsButton: boolean = true;
/**
* @internal
*/
@ -177,6 +181,21 @@ export class OpenviduWebComponentComponent implements OnInit {
@Input() set toolbarFullscreenButton(value: string | boolean) {
this._toolbarFullscreenButton = this.castToBoolean(value);
}
/**
* The **toolbarBackgroundEffectsButton** attribute allows show/hide the background effects toolbar button.
*
* Default: `true`
*
* <div class="warn-container">
* <span>WARNING</span>: If you want to use this parameter to OpenVidu Web Component statically, you have to replace the <strong>camelCase</strong> with a <strong>hyphen between words</strong>.</div>
*
* @example
* <openvidu-webcomponent toolbar-background-effects-button="false"></openvidu-webcomponent>
*/
@Input() set toolbarBackgroundEffectsButton(value: string | boolean) {
this._toolbarBackgroundEffectsButton = this.castToBoolean(value);
}
/**
* The **toolbarLeaveButton** attribute allows show/hide the leave toolbar button.
*