arlas-wui-toolkit / Exports / ShortcutFiltersHandlerComponent
Class: ShortcutFiltersHandlerComponent
Implements
OnInit
OnDestroy
Table of contents
Constructors
Properties
- contributorId
- displayFilterFirstValue
- firstLabel
- histogramDatatype
- histogramParams
- histogramUnit
- labels
- moreClicked
- rawLabels
- showMore
- ticksDateFormat
- widgetType
Methods
Constructors
constructor
• new ShortcutFiltersHandlerComponent(collaborativeSearchService
, translate
)
Parameters
Name | Type |
---|---|
collaborativeSearchService |
ArlasCollaborativesearchService |
translate |
TranslateService |
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:98
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:55
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:67
firstLabel
• firstLabel: string
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:94
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:79
histogramParams
• histogramParams: HistogramParams
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:87
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:73
labels
• labels: string
[]
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:92
moreClicked
• moreClicked: boolean
= false
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:90
rawLabels
• rawLabels: string
[]
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:93
showMore
• showMore: boolean
= false
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:89
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:85
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:61
Methods
clearFilter
▸ clearFilter(label
, idx
): void
Parameters
Name | Type |
---|---|
label |
string |
idx |
number |
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:127
ngOnDestroy
▸ ngOnDestroy(): void
Returns
void
Implementation of
OnDestroy.ngOnDestroy
Defined in
projects/arlas-toolkit/src/lib/components/filter-shortcut/filters-handler/filters-handler.component.ts:117
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:101
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:122