arlas-web-components / Exports / ResultListComponent

Class: ResultListComponent

ResultList component allows to structure data in a filterable and sortable table. Items can be represented as rows or grids and are multi-selectable. For both list and grid modes, each item has detailed data that can be displayed in a togglable space.

Implements

  • OnInit
  • DoCheck
  • OnChanges

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ResultListComponent(iterableRowsDiffer, iterableColumnsDiffer, el, colorService, translate)

Parameters

Name Type
iterableRowsDiffer IterableDiffers
iterableColumnsDiffer IterableDiffers
el ElementRef<any>
colorService ArlasColorService
translate TranslateService

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:452

Properties

CHECK_ALL

CHECK_ALL: string = 'Check all visible items'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:76


CHECK_INBETWEEN

CHECK_INBETWEEN: string = 'Check in between'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:72


COLUMN_ACTIONS_HEIGHT

COLUMN_ACTIONS_HEIGHT: number = 50

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:103


COLUMN_NAME_HEIGHT

COLUMN_NAME_HEIGHT: number = 25

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:104


CONTAIN_FIT

CONTAIN_FIT: string = 'Fit the whole thumbnail to the tile'

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:95


FILTERS_HEIGHT

FILTERS_HEIGHT: number = 50

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:105


FILTER_ON

FILTER_ON: string = 'Filter on'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:68


GEOSORT_ACTION

GEOSORT_ACTION: string = 'Geo sort action'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:84


GEOSORT_BUTTON

GEOSORT_BUTTON: string = 'Geo-sort'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:102


GEO_DISTANCE

GEO_DISTANCE: string = 'geodistance'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:55


GLOBAL_ACTIONS

GLOBAL_ACTIONS: string = 'Global actions'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:80


GRID_MODE

GRID_MODE: string = 'Grid mode'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:88


HEIGHT_FIT

HEIGHT_FIT: string = 'Fit the thumbnail\'s height to the tile'

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:97


LIST_MODE

LIST_MODE: string = 'List mode'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:92


ModeEnum

ModeEnum: typeof ModeEnum = ModeEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:427


PageEnum

PageEnum: typeof PageEnum = PageEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:429


SORT_ASCENDING

SORT_ASCENDING: string = 'click for ascending sort'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:64


SORT_DESCENDING

SORT_DESCENDING: string = 'click for descending sort'

constant

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:60


SortEnum

SortEnum: typeof SortEnum = SortEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:430


TAIL_HEIGHT

TAIL_HEIGHT: number = 30

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:106


ThumbnailFitEnum

ThumbnailFitEnum: typeof ThumbnailFitEnum = ThumbnailFitEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:428


WIDTH_FIT

WIDTH_FIT: string = 'Fit the thumbnail\'s width to the tile'

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:96


actionOnItemEvent

actionOnItemEvent: Subject<{ action: Action ; elementidentifier: ElementIdentifier }>

output : Angular

description Emits the event of applying the specified action on the specified item.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:374


allItemsChecked

allItemsChecked: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:439


borderStyle

borderStyle: string = 'solid'

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:443


cellBackgroundStyle

cellBackgroundStyle: CellBackgroundStyleEnum = CellBackgroundStyleEnum.filled

input : Angular

description The way the cell will be colorized: filled or outlined

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:291


changeResultMode

changeResultMode: Subject<ModeEnum>

output : Angular

description Emits the event of clicking on the switch mode button. Emits the new mode (grid or list).

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:399


clickOnTile

clickOnTile: Subject<Item>

output : Angular

description Emits the event of clicking on a grid tile.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:393


colorsSaturationWeight

colorsSaturationWeight: number

input : Angular

description Knowing that saturation scale is [0, 1], colorsSaturationWeight is a factor (between 0 and 1) that tightens this scale to [(1-colorsSaturationWeight), 1]. Therefore saturation of generated colors will be within this tightened scale..

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:279


columnFilterChanged

columnFilterChanged: Subject<Column>

output : Angular

description Emits the event of applying the specified globalb action on the selected items.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:387


columns

columns: Column[]

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:417


consultedItemEvent

consultedItemEvent: Subject<ElementIdentifier>

output : Angular

description Emits one item identifier that is hovered, selected or clicked on it for consultation purposes.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:347


currentSortedColumn

currentSortedColumn: Column

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:246


defautMode

defautMode: ModeEnum

input : Angular

description Mode of representation : list or grid.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:224


detailedDataRetriever

detailedDataRetriever: DetailedDataRetriever = null

input : Angular

description A detailed-data-retriever object that implements DetailedDataRetriever interface.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:200


detailedGridHeight

detailedGridHeight: number = 300

input : Angular

description Height of the detail grid div (Grid Mode).

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:181


displayFilters

displayFilters: boolean = true

input : Angular

description Whether filters on list are displayed.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:235


displayListGrid

displayListGrid: string = 'inline'

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:444


displayThead

displayThead: boolean = true

input : Angular

description A boolean to show or hide thead of table

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:265


dropDownMapValues: Map<string, Observable<string[]>>

input : Angular

description A map of fieldName- Observable of array value for dropdown filter

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:260


fetchState

fetchState: Object

Type declaration

Name Type
endListDown boolean
endListUp boolean

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:123


fieldsConfiguration

fieldsConfiguration: FieldsConfiguration

input : Angular

description A configuration object that sets id field, title field and urls to images && thumbnails

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:152


fieldsList

fieldsList: { columnName: string ; dataType: string ; fieldName: string ; useColorService?: boolean }[]

input : Angular

description List of the fields displayed in the table (including the id field) - fieldName : Name/path of the field to add to list - columnName : Name of the field that will be displayed on the list column - dataType : Unit of the field values if it exists (degree, percentage, etc) - useColorService : Whether to colorize values on cells of the list with a color generated from the field value NOTE : This list should include the ID field. It will be the id of each item

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:133


filtersMap

filtersMap: Map<string, string | number | Date>

input : Angular

description A fieldName-fieldValue map of fields to filter.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:253


geoAutoSortEvent

geoAutoSortEvent: Subject<boolean>

output : Angular

description Emits the event of geo-sorting data.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:334


geoSortEvent

geoSortEvent: Subject<string>

output : Angular

description Emits the event of geo-sorting data.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:328


globalActionEvent

globalActionEvent: Subject<Action>

output : Angular

description Emits the event of applying the specified globalb action on the selected items.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:381


globalActionsList

globalActionsList: Action[]

input : Angular

description List of actions to apply on the selected items.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:193


hasGridMode

hasGridMode: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:437


highlightItems

highlightItems: Set<string>

input : Angular

description List of items ids to be highlighted.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:218


indeterminatedItems

indeterminatedItems: Set<string>

input : Angular

description List of items ids that are in a indeterminated status.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:206


isBodyHidden

isBodyHidden: boolean

input : Angular

description Whether the body table is hidden or not.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:230


isDetailledGridOpen

isDetailledGridOpen: boolean = false

input

description Whether display the detailled part in grid mode.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:306


isGeoSortActivated

isGeoSortActivated: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:243


isGeoSortEnabled

isGeoSortEnabled: boolean = false

input : Angular

description Whether the sort on the geometry is enalabled.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:241


isNextPageRequested

isNextPageRequested: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:435


isPreviousPageRequested

isPreviousPageRequested: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:436


isShiftDown

isShiftDown: boolean = false

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:445


items

items: Item[]

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:418


keysToColors

keysToColors: [string, string][]

input : Angular

description List of [key, color] couples that associates a hex color to each key

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:271


lastSortedColumn

lastSortedColumn: Column

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:420


loadAnimationConfig

loadAnimationConfig: Object

Type declaration

Name Type
animationType string
backdropBackgroundColour string
backdropBorderRadius string
primaryColour string
secondaryColour string
tertiaryColour string

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:110


moreDataEvent

moreDataEvent: Subject<number>

output : Angular

description Emits the request of more data to load. The emitted number is the number of times this event has been emitted.

deprecated moreDataEvent can be replaced by paginationEvent

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:360


nLastLines

nLastLines: number = 5

input : Angular

description The number of items left on the list/grid when scrolling up or down upon which loading new data is triggered. When scrolling up or down, once there is nLastLines items left at the top or bottom of the list, previous/next data is loaded.

deprecated nLastLines is deprecated and used only if nbLinesBeforeFetch is not set

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:167


nbGridColumns

nbGridColumns: number = 4

input : Angular

description Number of grid columns (Grid Mode).

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:187


nbLinesBeforeFetch

nbLinesBeforeFetch: any

input : Angular

description The number of items left on the list/grid when scrolling up or down upon which loading new data is triggered. When scrolling up or down, once there is nbLinesBeforeFetch items left at the top or bottom of the list, previous/next data is loaded.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:175


onChangeItems

onChangeItems: Subject<any[]>

output : Angular

description Emits on changes rowItemList current value .

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:411


options

options: ResultListOptions

input : Angular

description An input to customize the resultlist

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:121


paginationEvent

paginationEvent: Subject<PageQuery>

output : Angular

description Emits the request of a new page to load. The emitted PageQuery contains the reference item from which the new page is loaded and whether it is the previous or the next page.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:368


resultMode

resultMode: ModeEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:438


rowItemList

rowItemList: Map<string, string | number | Date>[]

input : Angular

description List of fieldName-fieldValue map. Each map corresponds to a row/grid.

note In order to apply selectInBetween method properly, this list must be ascendingly sorted on the item identifier.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:145


scrollOptions

scrollOptions: Object

Type declaration

Name Type
maintainScrollDownPosition boolean
maintainScrollUpPosition boolean
nbLines number

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:115


selectedGridItem

selectedGridItem: Item

input : Angular

description A item to show detail

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:296


selectedItems

selectedItems: Set<string>

input : Angular

description List of items ids that are in a selected status.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:212


selectedItemsEvent

selectedItemsEvent: Subject<string[]>

output : Angular

description Emits the list of items identifiers whose checkboxes are selected.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:340


setFiltersEvent

setFiltersEvent: Subject<Map<string, string | number | Date>>

output : Angular

description Emits the filtred fields map (fieldName-fieldValue map).

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:353


showEmptyGroup

showEmptyGroup: boolean = false

input

description Whether display group with no detail.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:301


sortColumnEvent

sortColumnEvent: Subject<{ fieldName: string ; sortDirection: SortEnum }>

output : Angular

description Emits the event of sorting data on the specified column.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:321


sortedColumn

sortedColumn: Object

Type declaration

Name Type
fieldName string
sortDirection SortEnum

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:419


tableWidth

tableWidth: number = null

input : Angular

description The table width. If not specified, the tableWidth value is equal to container width.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:159


tbodyHeight

tbodyHeight: number = null

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:424


theadHeight

theadHeight: number = null

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:425


thumbnailFit

thumbnailFit: ThumbnailFitEnum = ThumbnailFitEnum.contain

input

description How to fit the thumbnail to the tile: - height fit the height of the thumbnail. - width fit the width of the thumbnail. - contain fit the wholethumbnail.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:315


thumbnailFitEvent

thumbnailFitEvent: Subject<ThumbnailFitEnum>

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:414


translate

translate: TranslateService


useColorService

useColorService: boolean = false

input : Angular

description Whether to allow colorizing cells and the grid tile of the list.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:285


visibleItems

visibleItems: Subject<Item[]>

output : Angular

description Emits the current visible items in the viewport.

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:405

Methods

byFieldName

byFieldName(item1, item2): boolean

Parameters

Name Type
item1 Column
item2 Column

Returns

boolean

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:892


clearSelection

clearSelection(): void

description Clear set of selection

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:863


closeDetail

closeDetail(isClosed): void

Parameters

Name Type
isClosed boolean

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:783


columnChanged

columnChanged(colum): void

description Emits the column when a filter is addedd

Parameters

Name Type
colum Column

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:856


emitThumbnailsFitStatus

emitThumbnailsFitStatus(fitChange): void

Parameters

Name Type
fitChange MatButtonToggleChange

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:493


emitVisibleItems

emitVisibleItems(items): void

Parameters

Name Type
items Item[]

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:614


geoSort

geoSort(): void

description Emits the request event of geo-sorting

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:722


ngDoCheck

ngDoCheck(): void

Returns

void

Implementation of

DoCheck.ngDoCheck

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:570


ngOnChanges

ngOnChanges(changes): void

Parameters

Name Type
changes SimpleChanges

Returns

void

Implementation of

OnChanges.ngOnChanges

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:498


ngOnInit

ngOnInit(): void

Returns

void

Implementation of

OnInit.ngOnInit

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:478


onEnterItem

onEnterItem(item): void

description called on hovering an item : its sets the items actions + emits the item's identifier

Parameters

Name Type Description
item Item hovered item

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:750


onLeaveItem

onLeaveItem(item): void

description called on leaving an item : emits the item's identifier

Parameters

Name Type Description
item Item item previously hovered

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:759


paginate

paginate(itemData, whichPage): void

description Emits the event of asking for next or previous page of items

Parameters

Name Type Description
itemData Map<string, string | number | Date> -
whichPage PageEnum : Whether to fetch the next or previous page

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:623


selectAllItems

selectAllItems(): void

description Selects all the items

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:809


selectInBetween

selectInBetween(): void

description Selects all the items between the farest and nearest selected items

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:825


setBorderStyle

setBorderStyle(borderStyle): void

description Sets the border style of rows

Parameters

Name Type
borderStyle any

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:766


setConsultedItem

setConsultedItem(identifier): void

description Sets and emits the hovered item's identifier

Parameters

Name Type
identifier string

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:738


setDirection

setDirection(direction): void

Parameters

Name Type
direction string

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:699


setFilters

setFilters(filtersMap): void

description Sets and emits the [fieldName, filterValue] map of filtered fields

Parameters

Name Type
filtersMap Map<string, string | number | Date>

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:656


setGeoSortAction

setGeoSortAction(): void

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:644


setGlobalAction

setGlobalAction(action): void

description Sets and emits the action to apply to all selected items

Parameters

Name Type
action Action

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:640


setItemActions

setItemActions(item): void

description set the list of actions of an item

Parameters

Name Type
item Item

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:875


setSelectedGridItem

setSelectedGridItem(item): void

description Sets the selected grid item

Parameters

Name Type
item Item

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:773


setSelectedItems

setSelectedItems(selectedItems, stopPropagation?): void

description Sets and emits the identifiers list of selected items

Parameters

Name Type
selectedItems Set<string>
stopPropagation? boolean

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:664


setSortedColumn

setSortedColumn(event): void

Parameters

Name Type
event MatSelectChange

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:706


shiftDown

shiftDown(_): void

Parameters

Name Type
_ any

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:469


shiftUp

shiftUp(event): void

Parameters

Name Type
event KeyboardEvent

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:474


sort

sort(paramSortedColumn): void

description Emits the column to sort on and the sort direction

Parameters

Name Type
paramSortedColumn Column

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:684


triggerActionOnItem

triggerActionOnItem(actionOnItem): void

description Emits which action to apply on which item/product

Parameters

Name Type
actionOnItem Object
actionOnItem.action Action
actionOnItem.elementidentifier ElementIdentifier

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:633


whichMode

whichMode(toggleChangeEvent): void

description Sets the display style according to the mode

Parameters

Name Type
toggleChangeEvent MatButtonToggleChange

Returns

void

Defined in

projects/arlas-components/src/lib/components/results/result-list/result-list.component.ts:794