arlas-web-components / Exports / Item
Class: Item
Table of contents
Constructors
Properties
- actions
- attachments
- color
- columns
- descriptions
- detailsTitle
- detailsTitleEnabled
- icon
- iconCssClass
- identifier
- imageEnabled
- isChecked
- isDetailToggled
- ishighLight
- isindeterminated
- itemData
- itemDetailedData
- position
- thumbnailEnabled
- title
- tooltip
- urlImages
- urlThumbnail
Constructors
constructor
• new Item(columns
, itemData
)
Parameters
Name | Type |
---|---|
columns |
Column [] |
itemData |
Map <string , ItemDataType > |
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:126
Properties
actions
• actions: Action
[]
Description
List of actions that can be applied to this item.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:83
attachments
• attachments: Attachment
[]
Description
Links attached to the item.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:79
color
• color: string
Description
color characterising the item
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:116
columns
• columns: Column
[]
Description
The item's data is organized in this columns when represented in a table.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:60
descriptions
• descriptions: string
[]
Description
List of descriptions of the images.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:36
detailsTitle
• detailsTitle: string
Description
Title for the details section.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:120
detailsTitleEnabled
• detailsTitleEnabled: boolean
Description
If details item title is enabled
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:124
icon
• icon: string
Description
The material grid icon.
Deprecated
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:108
iconCssClass
• iconCssClass: string
Description
The css class for material grid icon.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:112
identifier
• identifier: string
Description
Item's identifier.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:28
imageEnabled
• imageEnabled: boolean
Description
If image is enabled (to avoid 404 not found)
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:40
isChecked
• isChecked: boolean
= false
Description
Whether the item is checked.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:91
isDetailToggled
• isDetailToggled: boolean
= false
Description
Whether to display the detailed data.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:87
ishighLight
• ishighLight: any
= undefined
Description
Whether to highlight the item.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:99
isindeterminated
• isindeterminated: boolean
= false
Description
Whether the item state is indeterminated.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:95
itemData
• itemData: Map
<string
, ItemDataType
>
Description
A fieldName-fieldValue map representing the item's data.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:64
itemDetailedData
• itemDetailedData: { details
: { key
: string
; value
: string
}[] ; group
: string
}[]
Description
More data organized in groups.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:69
position
• position: number
Description
The item position in a list of items.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:103
thumbnailEnabled
• thumbnailEnabled: boolean
Description
If thumbnail is enabled (to avoid 404 nott found)
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:48
title
• title: string
Description
Item's title.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:52
tooltip
• tooltip: string
Description
Item's tooltip.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:56
urlImages
• urlImages: string
[]
Description
List of urls pointing to the item's images.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:32
urlThumbnail
• urlThumbnail: string
Description
Url that links the item's thumbnail.
Defined in
projects/arlas-components/src/lib/components/results/model/item.ts:44