core/split-view/split-view-selection.service.ts
Service to manage selection state in split view components. Provides methods to select/deselect items and track selection state.
Methods |
Accessors |
| clearSelection |
clearSelection()
|
|
Clear the current selection
Returns :
void
|
| isSelected | ||||||
isSelected(item: T)
|
||||||
|
Check if a specific item is selected
Parameters :
Returns :
boolean
|
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|
| select | ||||||
select(item: T)
|
||||||
|
Select an item
Parameters :
Returns :
void
|
| selectedItem$ |
getselectedItem$()
|
|
Observable of the currently selected item
Returns :
Observable<T | null>
|
| selectedItem |
getselectedItem()
|
|
Get the current selected item value
Returns :
T | null
|
| hasSelection |
gethasSelection()
|
|
Check if an item is currently selected
Returns :
boolean
|