Skip to content

arlas-wui-toolkit > "src/app/components/timeline/date-picker/date-picker.component" > DatePickerComponent

Class: DatePickerComponent

The component allows to set start/end values of a temporal selection on the timeline

Hierarchy

DatePickerComponent

Implements

  • OnInit
  • OnChanges

Index

Constructors

Properties

Methods


Constructors

constructor

new DatePickerComponent(arlasCollaborativesearchService: ArlasCollaborativesearchService, arlasStartupService: ArlasStartupService, translate: TranslateService): DatePickerComponent

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:57

Parameters:

Name Type
arlasCollaborativesearchService ArlasCollaborativesearchService
arlasStartupService ArlasStartupService
translate TranslateService

Returns: DatePickerComponent


Properties

endSelectedMoment

● endSelectedMoment: _moment.Moment | Date | number

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:47

input: : Angular

description: End value of the date picker. It must be date or a timestamp.


startSelectedMoment

● startSelectedMoment: _moment.Moment | Date | number

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:41

input: : Angular

description: Start value of the date picker. It must be date or a timestamp.


timelineComponent

● timelineComponent: any

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:55

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.


timelineContributor

● timelineContributor: HistogramContributor

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:57


translate

● translate: TranslateService

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:61


Methods

ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:70

Parameters:

Name Type
changes SimpleChanges

Returns: void


ngOnInit

ngOnInit(): void

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:64

Returns: void


setDate

setDate(): void

Defined in src/app/components/timeline/date-picker/date-picker.component.ts:82

Applies a temporal filter on the timeline on date selection on the date picker

Returns: void