projects/openvidu-components-angular/src/lib/services/panel/panel.service.ts
Properties |
Methods |
closePanel |
closePanel()
|
Closes the panel if it is 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 whether the external panel (a panel adding by the final user) is opened or not.
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(panelType: PanelType | string, subOptionType?: 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 :
Returns :
void
|
panelStatusObs |
Type : Observable<PanelStatusInfo>
|
Panel Observable which pushes the panel status in every update. |