dateComponent.d.ts 623 B

12345678910111213141516
  1. import { IComponent } from "../interfaces/iComponent";
  2. import { IDateFilterParams } from "../filter/provided/date/dateFilter";
  3. export interface IDate {
  4. /** Returns the current date represented by this editor */
  5. getDate(): Date;
  6. /** Sets the date represented by this component */
  7. setDate(date: Date): void;
  8. setInputPlaceholder?(placeholder: string): void;
  9. }
  10. export interface IDateParams {
  11. /** Method for component to tell ag-Grid that the date has changed. */
  12. onDateChanged: () => void;
  13. filterParams: IDateFilterParams;
  14. }
  15. export interface IDateComp extends IComponent<IDateParams>, IDate {
  16. }