core/dashboard/wiget-time-context/widget-time-context-query.service.ts
Methods |
constructor(activatedRoute: ActivatedRoute, helperService: WidgetTimeContextHelperService, router: Router)
|
||||||||||||
Parameters :
|
clearQueryParams |
clearQueryParams()
|
Clears all date time context related query parameters.
Returns :
void
|
queryParamsChange$ |
queryParamsChange$()
|
Returns observable that emits date context query params every time query params change. Invalid values are filtered out.
Returns :
Observable<InputDateContextQueryParams>
Observable of date context query params. |
setDateContextQueryParams | |||||
setDateContextQueryParams(undefined: WidgetTimeContextState)
|
|||||
Sets query parameters related to date time context. Valid interval (and other than 'custom') takes precedence over context described by date "from" and date "to". Interval and context described by date "from" and date "to" exclude each other.
Parameters :
Returns :
void
|