File

core/split-view/split-view-selection.service.ts

Description

Service to manage selection state in split view components. Provides methods to select/deselect items and track selection state.

Index

Methods
Accessors

Methods

clearSelection
clearSelection()

Clear the current selection

Returns : void
isSelected
isSelected(item: T)

Check if a specific item is selected

Parameters :
Name Type Optional
item T No
Returns : boolean
ngOnDestroy
ngOnDestroy()
Returns : void
select
select(item: T)

Select an item

Parameters :
Name Type Optional
item T No
Returns : void

Accessors

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

results matching ""

    No results matching ""