ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
18 lines (17 loc) • 688 B
TypeScript
import { IComponent } from "../interfaces/iComponent";
import { IDateFilterParams } from "../filter/provided/date/dateFilter";
export interface IDate {
/** Returns the current date represented by this editor */
getDate(): Date | null;
/** Sets the date represented by this component */
setDate(date: Date | null): void;
setInputPlaceholder?(placeholder: string): void;
setInputAriaLabel?(placeholder: string): 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 {
}