arlas-wui-toolkit / Exports / ShortcutFiltersHandlerComponent
Class: ShortcutFiltersHandlerComponent
Implements
OnInit
Table of contents
Constructors
Properties
- contributorId
- displayFilterFirstValue
- firstLabel
- histogramDatatype
- histogramParams
- histogramUnit
- labels
- moreClicked
- showMore
- ticksDateFormat
- widgetType
Methods
Constructors
constructor
• new ShortcutFiltersHandlerComponent(collaborativeSearchService
, translate
, shortenNumberPipe
)
Parameters
Name | Type |
---|---|
collaborativeSearchService |
ArlasCollaborativesearchService |
translate |
TranslateService |
shortenNumberPipe |
ShortenNumberPipe |
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:94
Properties
contributorId
• contributorId: string
Input
: Angular
Description
The contributor Id of the shortcut
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:54
displayFilterFirstValue
• displayFilterFirstValue: boolean
Input
: Angular
Description
Whether to display the value of the first filter. It will allow the user to only see the values by clicking the +X chip.
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:66
firstLabel
• firstLabel: string
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:92
histogramDatatype
• histogramDatatype: string
Input
: Angular
Description
The type of data of the histogram. It can have the same values as a non-shortcut histogram.
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:78
histogramParams
• histogramParams: HistogramParams
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:86
histogramUnit
• histogramUnit: string
Input
: Angular
Description
The unit of the histogram values
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:72
labels
• labels: string
[]
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:91
moreClicked
• moreClicked: boolean
= false
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:89
showMore
• showMore: boolean
= false
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:88
ticksDateFormat
• ticksDateFormat: string
Input
: Angular
Description
The format to use for the date ticks of the shortcut's histogram
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:84
widgetType
• widgetType: string
Input
: Angular
Description
The type of widget represented by the shortcut. can be 'powerbars' or 'histogram'.
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:60
Methods
clearFilter
▸ clearFilter(label
): void
Parameters
Name | Type |
---|---|
label |
string |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:119
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:100
showFilters
▸ showFilters(clickEvent
): void
Parameters
Name | Type |
---|---|
clickEvent |
Event |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:114