mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Added background effects param to webcomponent
parent
8550b77d17
commit
af02ffe92a
|
@ -49,6 +49,10 @@ export class OpenviduWebComponentComponent implements OnInit {
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
_toolbarFullscreenButton: boolean = true;
|
_toolbarFullscreenButton: boolean = true;
|
||||||
|
/**
|
||||||
|
* @internal
|
||||||
|
*/
|
||||||
|
_toolbarBackgroundEffectsButton: boolean = true;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
|
@ -177,6 +181,21 @@ export class OpenviduWebComponentComponent implements OnInit {
|
||||||
@Input() set toolbarFullscreenButton(value: string | boolean) {
|
@Input() set toolbarFullscreenButton(value: string | boolean) {
|
||||||
this._toolbarFullscreenButton = this.castToBoolean(value);
|
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.
|
* The **toolbarLeaveButton** attribute allows show/hide the leave toolbar button.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue