ag-grid
Version:
Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
19 lines (18 loc) • 694 B
TypeScript
// Type definitions for ag-grid v18.1.2
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { IComponent } from "../interfaces/iComponent";
import { IDateFilterParams } from "../filter/dateFilter";
export interface IDate {
/** Returns the current date represented by this editor */
getDate(): Date;
/** Sets the date represented by this component */
setDate(date: Date): void;
}
export interface IDateParams {
/** Method for component to tell ag-Grid that the date has changed. */
onDateChanged: () => void;
filterParams: IDateFilterParams;
}
export interface IDateComp extends IComponent<IDateParams>, IDate {
}