type-alias
Source: filters.ts ↗
DashboardDateFilterSelectionChanged
This event is emitted after the dashboard’s date filter selection is changed.
export type DashboardDateFilterSelectionChanged = IDashboardEvent & {
readonly type: "GDC.DASH/EVT.FILTER_CONTEXT.DATE_FILTER.SELECTION_CHANGED";
readonly payload: DashboardDateFilterSelectionChangedPayload;
};
References: IDashboardEvent, DashboardDateFilterSelectionChangedPayload
Remarks
See also dashboardDateFilterToDateFilterByWidget() and dashboardDateFilterToDateFilterByDateDataSet() convertors – those allow you to convert the filter in the event payload to an IDateFilter instance you can use with visualizations, filter UI components and so on.