src/lib/inbox/state/inbox.state.ts
Provides control and state of the publicly available subjects of the inbox state.
import { InboxState } from '@talenra/inbox';
Properties |
|
Methods |
|
| Public setActionMenuExpanded | ||||||||
setActionMenuExpanded(isExpanded: boolean)
|
||||||||
|
Opens or closes the action menu.
Parameters :
Returns :
void
|
| Public setInboxConfiguration | ||||||||
setInboxConfiguration(configuration: IInboxConfiguration)
|
||||||||
|
Updates the inbox configuration.
Parameters :
Returns :
void
|
| Public setSelectedDataItemsList | ||||||||
setSelectedDataItemsList(selectedDataItems: any[])
|
||||||||
|
Sets the selected data items in the data items list.
Parameters :
Returns :
void
|
| Public setSelectedSidePanelTab | ||||||||
setSelectedSidePanelTab(tab: string)
|
||||||||
|
Sets the selected side panel tab.
Parameters :
Returns :
void
|
| Public Readonly actionMenuExpanded$ |
Type : unknown
|
Default value : new BehaviorSubject(false)
|
|
Provides whether the action menu (mat-menu) is expanded or not. |
| Public Readonly activePreset$ |
Type : unknown
|
Default value : new BehaviorSubject<IPreset>({} as IPreset)
|
|
Provides the active preset. |
| Public Readonly filteredDataItemsSubject$ |
Type : unknown
|
Default value : new BehaviorSubject<any[]>([])
|
|
Data items which are filtered and sorted. |
| Public Readonly inboxConfiguration$ |
Type : BehaviorSubject<IInboxConfiguration>
|
Default value : new BehaviorSubject({})
|
|
Provides the inbox configuration. |
| Public scrollToIndex |
Type : number
|
Default value : 0
|
|
Value to what value is to be scrolled in the data-item-list |
| Public Readonly selectedAllAttributesSubject$ |
Type : unknown
|
Default value : new BehaviorSubject<IAttributeItem[]>([])
|
|
Provides all selected attributes. |
| Public Readonly selectedDataItemsList$ |
Type : unknown
|
Default value : new BehaviorSubject<any[]>([])
|
|
The selected data items in the data items list. |
| Public Readonly selectedDetailAttributesSubject$ |
Type : unknown
|
Default value : new BehaviorSubject<IAttributeItem[]>([])
|
|
Provides the selected detail attributes. |
| Public Readonly selectedMainAttributesSubject$ |
Type : unknown
|
Default value : new BehaviorSubject<IAttributeItem[]>([])
|
|
Provides the selected main attributes. |