Interface

ViewState

ViewState

State of the view
Properties:
Name Type Attributes Description
isSideNavOpen boolean whether the navigation sidebar is open
isOutboundDialerOpen boolean whether the navigation sidebar is open
activeView string <optional>
name of the currently active view
selectedTaskSid string <optional>
ID of the selected task in Agent Desktop view
selectedTaskInSupervisorSid string <optional>
ID of the selected task in Teams view
selectedWorkerInSupervisorSid string <optional>
ID of the selected worker in Teams view
isDirectoryOpen boolean <optional>
whether the call transfer panel is open in Agent Desktop view
componentViewStates Object object containing persistent components states. Use Actions.SetComponentState to update.
filters TeamsView.FiltersState <optional>
Represents the list of active filters.