File

projects/openvidu-angular/src/lib/services/panel/panel.service.ts

Index

Properties
Methods

Methods

closePanel
closePanel()

Closes the panel (if opened)

Returns : void
isActivitiesPanelOpened
isActivitiesPanelOpened()

Whether the activities panel is opened or not.

Returns : boolean
isBackgroundEffectsPanelOpened
isBackgroundEffectsPanelOpened()

Whether the background effects panel is opened or not.

Returns : boolean
isChatPanelOpened
isChatPanelOpened()

Whether the chat panel is opened or not.

Returns : boolean
isExternalPanelOpened
isExternalPanelOpened()
Returns : boolean
isParticipantsPanelOpened
isParticipantsPanelOpened()

Whether the participants panel is opened or not.

Returns : boolean
isSettingsPanelOpened
isSettingsPanelOpened()

Whether the settings panel is opened or not.

Returns : boolean
togglePanel
togglePanel(type: PanelType | string, expand?: PanelSettingsOptions | string)

Open or close the panel type received. Calling this method with the panel opened and the same type panel, will close the panel. If the type is differente, it will switch to the properly panel.

Parameters :
Name Type Optional
type PanelType | string No
expand PanelSettingsOptions | string Yes
Returns : void

Properties

panelOpenedObs
Type : Observable<PanelEvent>

Panel Observable which pushes the panel status in every update.

results matching ""

    No results matching ""