src/lib/inbox-layout/inbox-detail-view/inbox-detail-view.service.ts
Provides control and state of the publicly available subjects of the inbox detail view.
import { InboxDetailViewService } from '@talenra/inbox';
Properties |
|
Methods |
|
| Public setDetailViewExpanded | ||||||||
setDetailViewExpanded(isExpanded: boolean)
|
||||||||
|
Collapses or expands the inbox detail view.
Parameters :
Returns :
void
|
| Public setNoteBoxExpanded | ||||||||
setNoteBoxExpanded(isExpanded: boolean)
|
||||||||
|
Collapses or expands the inbox note box.
Parameters :
Returns :
void
|
| Public setSelectedDetailViewTab | ||||||||
setSelectedDetailViewTab(key: string)
|
||||||||
|
Updates the current selected item.
Parameters :
Returns :
void
|
| Public Readonly noteBoxExpanded$ |
Type : unknown
|
Default value : new BehaviorSubject<boolean>(true)
|
|
Provides the state whether the inbox note box is expanded. |
| Public Readonly selectedDetailViewTab$ |
Type : unknown
|
Default value : new BehaviorSubject<string>('1')
|
|
Provides the selectedItem's state (current item). |