File

src/lib/inbox-layout/data-items-list/data-items.service.ts

Description

Provides control and state of the publicly available subjects of the inbox data items.

Import Information:

  1. Not all attributes are changeable. Or should be changed (consult the api documentation).
Example :
import { DataItemsService } from '@talenra/inbox';

Index

Properties
Methods

Methods

Public setCompressedDataItem
setCompressedDataItem(isCompressed: boolean)

Compress or inflate data-items-list

Parameters :
Name Type Optional Description
isCompressed boolean No

Whether the data-items-list is compressed or not.

Returns : void
Public setSelectedIdDataItemsList
setSelectedIdDataItemsList(selection: string[])

Updates the current state for the selected data-items-list.

Parameters :
Name Type Optional Description
selection string[] No

The selected data items.

Returns : void

Properties

Public Readonly activeDataItem$
Type : unknown
Default value : new BehaviorSubject<any>(null)

Provides the state for the active data item (current item).

Public Readonly compressedDataItem$
Type : unknown
Default value : new BehaviorSubject(false)

Provides whether the data-items-list is compressed.

results matching ""

    No results matching ""