arlas-wui-toolkit / Exports / DatePickerComponent
Class: DatePickerComponent
The component allows to set start/end values of a temporal selection on the timeline
Implements
OnInit
OnChanges
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new DatePickerComponent(arlasCollaborativesearchService
, arlasStartupService
, translate
)
Parameters
Name | Type |
---|---|
arlasCollaborativesearchService |
ArlasCollaborativesearchService |
arlasStartupService |
ArlasStartupService |
translate |
TranslateService |
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:47
Properties
endSelectedMoment
• endSelectedMoment: number
| Date
| Moment
input
: Angular
description
End value of the date picker. It must be date or a timestamp.
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:35
startSelectedMoment
• startSelectedMoment: number
| Date
| Moment
input
: Angular
description
Start value of the date picker. It must be date or a timestamp.
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:29
timelineComponent
• timelineComponent: any
input
: Angular
description
In this object, all the necessary inputs of HistogramComponent (ARLAS-web-components)
must be set as well as the identifier of the contributor that fetches timeline data. The HistogramContributor
should be declared before in the contributorRegistry
of ArlasStartupService
.
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:43
timelineContributor
• timelineContributor: HistogramContributor
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:45
translate
• translate: TranslateService
Methods
ngOnChanges
▸ ngOnChanges(changes
): void
Parameters
Name | Type |
---|---|
changes |
SimpleChanges |
Returns
void
Implementation of
OnChanges.ngOnChanges
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:59
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:52
setDate
▸ setDate(): void
Applies a temporal filter on the timeline on date selection on the date picker
Returns
void
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:75
setMomentDate
▸ setMomentDate(date
): any
Parameters
Name | Type |
---|---|
date |
any |
Returns
any
Defined in
projects/arlas-toolkit/src/lib/components/timeline/date-picker/date-picker.component.ts:91